31 #ifndef PX_PHYSICS_NX_BOX_GEOMETRY 32 #define PX_PHYSICS_NX_BOX_GEOMETRY 96 if (!halfExtents.isFinite())
98 if (halfExtents.x <= 0.0f || halfExtents.y <= 0.0f || halfExtents.z <= 0.0f)
Definition: GuContactBuffer.h:37
PxVec3 halfExtents
Half of the width, height, and depth of the box.
Definition: PxBoxGeometry.h:88
A geometry type.
Definition: PxGeometry.h:51
float PxReal
Definition: PxSimpleTypes.h:78
PX_INLINE PxBoxGeometry()
Default constructor, initializes to a box with zero dimensions.
Definition: PxBoxGeometry.h:56
A geometry object.
Definition: PxGeometry.h:75
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition: PxBoxGeometry.h:92
PX_INLINE PxBoxGeometry(PxVec3 halfExtents_)
Constructor to initialize half extents from vector parameter.
Definition: PxBoxGeometry.h:70
Definition: PxGeometry.h:58
PX_INLINE PxBoxGeometry(PxReal hx, PxReal hy, PxReal hz)
Constructor to initialize half extents from scalar parameters.
Definition: PxBoxGeometry.h:64
#define PX_INLINE
Definition: PxPreprocessor.h:349
Class representing the geometry of a box.
Definition: PxBoxGeometry.h:50
3 Element vector class.
Definition: PxVec3.h:49