31 #ifndef PX_PHYSICS_NX_CAPSULE_GEOMETRY 32 #define PX_PHYSICS_NX_CAPSULE_GEOMETRY 98 if (radius <= 0.0f || halfHeight <= 0.0f)
Definition: GuContactBuffer.h:37
Class representing the geometry of a capsule.
Definition: PxCapsuleGeometry.h:55
A geometry type.
Definition: PxGeometry.h:51
float PxReal
Definition: PxSimpleTypes.h:78
Definition: PxGeometry.h:57
A geometry object.
Definition: PxGeometry.h:75
PX_INLINE PxCapsuleGeometry()
Default constructor, initializes to a capsule with zero height and radius.
Definition: PxCapsuleGeometry.h:61
PX_INLINE PxCapsuleGeometry(PxReal radius_, PxReal halfHeight_)
Constructor, initializes to a capsule with passed radius and half height.
Definition: PxCapsuleGeometry.h:66
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition: PxCapsuleGeometry.h:92
PxReal radius
The radius of the capsule.
Definition: PxCapsuleGeometry.h:84
PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxIsFinite(float f)
returns true if the passed number is a finite floating point number as opposed to INF...
Definition: PxMath.h:292
PxReal halfHeight
half of the capsule's height, measured between the centers of the hemispherical ends.
Definition: PxCapsuleGeometry.h:89
#define PX_INLINE
Definition: PxPreprocessor.h:336