31 #ifndef PX_PHYSICS_NX_TRIANGLEMESH_GEOMETRY 32 #define PX_PHYSICS_NX_TRIANGLEMESH_GEOMETRY 57 eDOUBLE_SIDED = (1<<1)
135 if(!scale.scale.isFinite() || !scale.rotation.isUnit())
137 if(!scale.isValidForTriangleMesh())
Definition: GuContactBuffer.h:37
A class expressing a nonuniform scaling transformation.
Definition: PxMeshScale.h:68
A geometry type.
Definition: PxGeometry.h:51
A triangle mesh, also called a 'polygon soup'.
Definition: PxTriangleMesh.h:126
A geometry object.
Definition: PxGeometry.h:75
PxFlags< PxMeshGeometryFlag::Enum, PxU8 > PxMeshGeometryFlags
collection of set bits defined in PxMeshGeometryFlag.
Definition: PxTriangleMeshGeometry.h:68
PxMeshScale scale
The scaling transformation.
Definition: PxTriangleMeshGeometry.h:124
PxU8 mesh[sizeof(PxTriangleMeshGeometry)]
Definition: PxGeometryHelpers.h:221
Enum
Definition: PxTriangleMeshGeometry.h:55
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
PX_INLINE PxTriangleMeshGeometry()
Default constructor.
Definition: PxTriangleMeshGeometry.h:90
uint8_t PxU8
Definition: PxSimpleTypes.h:75
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition: PxTriangleMeshGeometry.h:131
PxMeshGeometryFlags meshFlags
Mesh flags.
Definition: PxTriangleMeshGeometry.h:125
Flags controlling the simulated behavior of the triangle mesh geometry.
Definition: PxTriangleMeshGeometry.h:53
Definition: PxGeometry.h:60
PX_FORCE_INLINE PxTriangleMeshGeometry & triangleMesh()
Definition: PxGeometryHelpers.h:153
PxPadding< 3 > paddingFromFlags
padding for mesh flags
Definition: PxTriangleMeshGeometry.h:126
PxTriangleMesh * triangleMesh
A reference to the mesh object.
Definition: PxTriangleMeshGeometry.h:127
Triangle mesh geometry class.
Definition: PxTriangleMeshGeometry.h:82
#define PX_INLINE
Definition: PxPreprocessor.h:336
PX_INLINE PxTriangleMeshGeometry(PxTriangleMesh *mesh, const PxMeshScale &scaling=PxMeshScale(), PxMeshGeometryFlags flags=PxMeshGeometryFlags())
Constructor.
Definition: PxTriangleMeshGeometry.h:102