A spherical collision volume or object. More...
Public Member Functions | |
CollisionSphere (Point3 const center, float radius) | |
CollisionSphere (float cx, float cy, float cz, float radius) | |
Point3 const | getCenter () |
float | getRadius () |
setCenter (Point3 const center) | |
setCenter (float x, float y, float z) | |
setRadius (float radius) | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A spherical collision volume or object.
CollisionSphere | ( | Point3 const | center, |
float | radius | ||
) |
CollisionSphere | ( | float | cx, |
float | cy, | ||
float | cz, | ||
float | radius | ||
) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from CollisionSolid.
Reimplemented in CollisionInvSphere.
float getRadius | ( | ) |
setCenter | ( | float | x, |
float | y, | ||
float | z | ||
) |
setRadius | ( | float | radius | ) |