Public Member Functions | Public Attributes

Sphere Class Reference

Inheritance diagram for Sphere:
Volume

List of all members.

Public Member Functions

void setRadius (f32 nradius)
void combine (Sphere *sphere)
vec3f getCentrum ()
f32 volume ()
bool encloses (vec3f *point)
bool intersect (Ray *ray)
bool intersect (Ray *ray, f32 *dist)
bool intersect (AABox *aabox)
bool intersect (Sphere *sphere)
void calculateBounds (VertexArray *vertexArray, f32 overCompensate)

Public Attributes

vec3f origin
f32 radius
f32 radiusSquared

The documentation for this class was generated from the following files:
 All Classes Functions