31 #ifndef PX_MIDPHASE_DESC_H 32 #define PX_MIDPHASE_DESC_H 85 mBVH33Desc.setToDefault();
87 mBVH34Desc.setToDefault();
97 return mBVH33Desc.isValid();
99 return mBVH34Desc.isValid();
105 setToDefault(descType);
119 #endif // PX_MIDPHASE_DESC_UNION_H Definition: GuContactBuffer.h:37
PxBVH33MidphaseDesc mBVH33Desc
Definition: PxMidphaseDesc.h:71
#define PX_FORCE_INLINE
Definition: PxPreprocessor.h:364
Structure describing parameters affecting midphase mesh structure.
Definition: PxMidphaseDesc.h:52
Structure describing parameters affecting BVH33 midphase mesh structure.
Definition: PxBVH33MidphaseDesc.h:61
Structure describing parameters affecting BVH34 midphase mesh structure.
Definition: PxBVH34MidphaseDesc.h:51
void setToDefault(PxMeshMidPhase::Enum type)
Initialize the midphase mesh structure descriptor.
Definition: PxMidphaseDesc.h:81
PX_FORCE_INLINE PxMeshMidPhase::Enum getType() const
Returns type of midphase mesh structure.
Definition: PxMidphaseDesc.h:63
Enum
Definition: PxTriangleMesh.h:66
New midphase mesh structure, introduced in PhysX 3.4.
Definition: PxTriangleMesh.h:69
PX_FORCE_INLINE PxMidphaseDesc()
Definition: PxMidphaseDesc.h:55
bool isValid() const
Returns true if the descriptor is valid.
Definition: PxMidphaseDesc.h:94
PxMeshMidPhase::Enum mType
Definition: PxMidphaseDesc.h:110
PX_FORCE_INLINE PxMidphaseDesc & operator=(PxMeshMidPhase::Enum descType)
Definition: PxMidphaseDesc.h:103
PxBVH34MidphaseDesc mBVH34Desc
Definition: PxMidphaseDesc.h:72
Default midphase mesh structure, as used up to PhysX 3.3.
Definition: PxTriangleMesh.h:68