|
RavEngine
|
A class representing the geometry of a sphere. More...
#include <PxSphereGeometry.h>
Public Member Functions | |
| PX_INLINE | PxSphereGeometry (PxReal ir=0.0f) |
| Constructor. | |
| PX_INLINE | PxSphereGeometry (const PxSphereGeometry &that) |
| Copy constructor. | |
| PX_INLINE void | operator= (const PxSphereGeometry &that) |
| Assignment operator. | |
| PX_INLINE bool | isValid () const |
| Returns true if the geometry is valid. | |
Public Member Functions inherited from physx::PxGeometry | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometryType::Enum | getType () const |
| Returns the type of the geometry. | |
| PX_INLINE void | operator= (const PxGeometry &that) |
| Assignment operator. | |
Public Attributes | |
| PxReal | radius |
| The radius of the sphere. | |
Public Attributes inherited from physx::PxGeometry | |
| float | mTypePadding |
Additional Inherited Members | |
Protected Member Functions inherited from physx::PxGeometry | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxGeometry (PxGeometryType::Enum type) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxGeometry (const PxGeometry &that) |
Protected Attributes inherited from physx::PxGeometry | |
| PxGeometryType::Enum | mType |
A class representing the geometry of a sphere.
Spheres are defined by their radius.
|
inline |
Copy constructor.
| [in] | that | Other object |
| PX_INLINE bool physx::PxSphereGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.