#include <PxSimpleTriangleMesh.h>
Public Member Functions | |
PX_INLINE | PxSimpleTriangleMesh () |
constructor sets to default. | |
PX_INLINE void | setToDefault () |
(re)sets the structure to the default. | |
PX_INLINE bool | isValid () const |
returns true if the current settings are valid | |
Public Attributes | |
PxBoundedData | points |
Pointer to first vertex point. | |
PxBoundedData | triangles |
Pointer to first triangle. | |
PxMeshFlags | flags |
Flags bits, combined from values of the enum PxMeshFlag. |
Pointer to first triangle.
Caller may add triangleStrideBytes bytes to the pointer to access the next triangle.
These are triplets of 0 based indices: vert0 vert1 vert2 vert0 vert1 vert2 vert0 vert1 vert2 ...
where vertex is either a 32 or 16 bit unsigned integer. There are numTriangles*3 indices.
This is declared as a void pointer because it is actually either an PxU16 or a PxU32 pointer.
Referenced by PxTriangleMeshDesc::isValid(), and isValid().