mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
WARNING!!! This revision cannot compile correctly. It is updated to reflect the many changes within the XFX project.
35 lines
841 B
C++
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_
|