|
RavEngine
|
Public Member Functions | |
| PX_INLINE | Sphere () |
| Constructor. | |
| PX_INLINE | Sphere (const PxVec3 &_center, PxF32 _radius) |
| Constructor. | |
| PX_INLINE | Sphere (const Sphere &sphere) |
| Copy constructor. | |
| PX_INLINE | ~Sphere () |
| Destructor. | |
| PX_INLINE void | set (const PxVec3 &_center, float _radius) |
| PX_INLINE bool | isValid () const |
| Checks the sphere is valid. | |
| PX_INLINE bool | contains (const PxVec3 &p) const |
| Tests if a point is contained within the sphere. | |
Public Attributes | |
| PxVec3 | center |
| Sphere's center. | |
| PxF32 | radius |
| Sphere's radius. | |
Tests if a point is contained within the sphere.
| [in] | p | the point to test |
|
inline |
Checks the sphere is valid.