29#ifndef PX_BOX_GEOMETRY_H
30#define PX_BOX_GEOMETRY_H
34#include "geometry/PxGeometry.h"
35#include "foundation/PxVec3.h"
102 if(mType != PxGeometryType::eBOX)
Class representing the geometry of a box.
Definition PxBoxGeometry.h:49
PX_INLINE PxBoxGeometry(PxReal hx=0.0f, PxReal hy=0.0f, PxReal hz=0.0f)
Constructor to initialize half extents from scalar parameters.
Definition PxBoxGeometry.h:57
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition PxBoxGeometry.h:100
PxVec3 halfExtents
Half of the width, height, and depth of the box.
Definition PxBoxGeometry.h:97
PX_INLINE PxBoxGeometry(PxVec3 halfExtents_)
Constructor to initialize half extents from vector parameter.
Definition PxBoxGeometry.h:63
PX_INLINE PxBoxGeometry(const PxBoxGeometry &that)
Copy constructor.
Definition PxBoxGeometry.h:70
PX_INLINE void operator=(const PxBoxGeometry &that)
Assignment operator.
Definition PxBoxGeometry.h:75
A geometry object.
Definition PxGeometry.h:79
3 Element vector class.
Definition PxVec3.h:50
PX_CUDA_CALLABLE PX_INLINE bool isFinite() const
returns true if all 3 elems of the vector are finite (not NAN or INF, etc.)
Definition PxVec3.h:156
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
A geometry type.
Definition PxGeometry.h:50