This defines a bounding sphere, consisting of a center and a radius. More...
Public Member Functions | |
BoundingSphere () | |
Constructs an empty sphere. | |
BoundingSphere (Point3 const center, float radius) | |
Constructs a specific sphere. | |
Point3 | getCenter () |
float | getRadius () |
operator new (unsigned int size) | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
This defines a bounding sphere, consisting of a center and a radius.
It is always a sphere, and never an ellipsoid or other quadric.
BoundingSphere | ( | ) |
Constructs an empty sphere.
BoundingSphere | ( | Point3 const | center, |
float | radius | ||
) |
Constructs a specific sphere.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from FiniteBoundingVolume.
float getRadius | ( | ) |
operator new | ( | unsigned int | size | ) |