29#ifndef PX_CAPSULE_GEOMETRY_H
30#define PX_CAPSULE_GEOMETRY_H
34#include "geometry/PxGeometry.h"
35#include "foundation/PxFoundationConfig.h"
104 if(mType != PxGeometryType::eCAPSULE)
Class representing the geometry of a capsule.
Definition PxCapsuleGeometry.h:54
PX_INLINE PxCapsuleGeometry(PxReal radius_=0.0f, PxReal halfHeight_=0.0f)
Constructor, initializes to a capsule with passed radius and half height.
Definition PxCapsuleGeometry.h:59
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition PxCapsuleGeometry.h:102
PX_INLINE PxCapsuleGeometry(const PxCapsuleGeometry &that)
Copy constructor.
Definition PxCapsuleGeometry.h:66
PxReal halfHeight
half of the capsule's height, measured between the centers of the hemispherical ends.
Definition PxCapsuleGeometry.h:99
PX_INLINE void operator=(const PxCapsuleGeometry &that)
Assignment operator.
Definition PxCapsuleGeometry.h:71
PxReal radius
The radius of the capsule.
Definition PxCapsuleGeometry.h:94
A geometry object.
Definition PxGeometry.h:79
#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
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:326
A geometry type.
Definition PxGeometry.h:50