1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 8f089dc2ab Added the current XFX directory tree.
WARNING!!! This revision cannot compile correctly. It is updated to reflect the many changes within the XFX project.
2010-12-04 16:14:34 +00:00

35 lines
841 B
C++

/********************************************************
* BoundingSphere.h *
* *
* XFX BoundingSphere definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _XFX_BOUNDINGSPHERE_
#define _XFX_BOUNDINGSPHERE_
#include <System/Types.h>
#include "Vector3.h"
namespace XFX
{
/// <summary>
/// Defines a sphere.
/// </summary>
class BoundingSphere
{
public:
Vector3 Center;
float Radius;
BoundingSphere(Vector3 center, float radius);
BoundingSphere(const BoundingSphere &obj);
BoundingSphere();
int operator==(const BoundingSphere other);
int operator!=(const BoundingSphere other);
BoundingSphere operator=(const BoundingSphere other);
};
}
#endif //_XFX_BOUNDINGSPHERE_