#include <OgreSphere.h>
Public Methods | |
| Sphere () | |
| Standard constructor - creates a unit sphere around the origin. More... | |
| Sphere (const Vector3 ¢er, Real radius) | |
| Constructor allowing arbitrary spheres. More... | |
| Real | getRadius (void) const |
| Returns the radius of the sphere. More... | |
| void | setRadius (Real radius) |
| Sets the radius of the sphere. More... | |
| Vector3 | getCenter (void) const |
| Returns the center point of the sphere. More... | |
| void | setCenter (const Vector3 ¢er) |
| Sets the center point of the sphere. More... | |
Protected Attributes | |
| Real | mRadius |
| Vector3 | mCenter |
|
|
Standard constructor - creates a unit sphere around the origin.
|
|
||||||||||||
|
Constructor allowing arbitrary spheres.
|
|
|
Returns the center point of the sphere.
|
|
|
Returns the radius of the sphere.
|
|
|
Sets the center point of the sphere.
|
|
|
Sets the radius of the sphere.
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team