31 #ifndef PX_PHYSICS_NX_CONVEXMESH_GEOMETRY 32 #define PX_PHYSICS_NX_CONVEXMESH_GEOMETRY 57 eTIGHT_BOUNDS = (1<<0)
136 if(!scale.scale.isFinite() || !scale.rotation.isUnit())
138 if(!scale.isValidForConvexMesh())
Definition: GuContactBuffer.h:37
PxConvexMesh * convexMesh
A reference to the convex mesh object.
Definition: PxConvexMeshGeometry.h:126
PxPadding< 3 > paddingFromFlags
padding for mesh flags
Definition: PxConvexMeshGeometry.h:128
PX_FORCE_INLINE PxConvexMeshGeometry & convexMesh()
Definition: PxGeometryHelpers.h:143
Use tighter (but more expensive to compute) bounds around the convex geometry.
Definition: PxConvexMeshGeometry.h:57
PxMeshScale scale
The scaling transformation (from vertex space to shape space).
Definition: PxConvexMeshGeometry.h:125
A class expressing a nonuniform scaling transformation.
Definition: PxMeshScale.h:68
A geometry type.
Definition: PxGeometry.h:51
PX_INLINE PxConvexMeshGeometry()
Default constructor.
Definition: PxConvexMeshGeometry.h:88
A geometry object.
Definition: PxGeometry.h:75
A convex mesh.
Definition: PxConvexMesh.h:84
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition: PxConvexMeshGeometry.h:132
PxU8 mesh[sizeof(PxTriangleMeshGeometry)]
Definition: PxGeometryHelpers.h:221
Flags controlling the simulated behavior of the convex mesh geometry.
Definition: PxConvexMeshGeometry.h:53
PxConvexMeshGeometryFlags meshFlags
Mesh flags.
Definition: PxConvexMeshGeometry.h:127
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
uint8_t PxU8
Definition: PxSimpleTypes.h:75
PxFlags< PxConvexMeshGeometryFlag::Enum, PxU8 > PxConvexMeshGeometryFlags
collection of set bits defined in PxConvexMeshGeometryFlag.
Definition: PxConvexMeshGeometry.h:66
PX_INLINE PxConvexMeshGeometry(PxConvexMesh *mesh, const PxMeshScale &scaling=PxMeshScale(), PxConvexMeshGeometryFlags flags=PxConvexMeshGeometryFlag::eTIGHT_BOUNDS)
Constructor.
Definition: PxConvexMeshGeometry.h:102
Definition: PxGeometry.h:59
Enum
Definition: PxConvexMeshGeometry.h:55
Convex mesh geometry class.
Definition: PxConvexMeshGeometry.h:80
#define PX_INLINE
Definition: PxPreprocessor.h:336