Function physx_sys::PxTriangleMesh_getTriangles
source · pub unsafe extern "C" fn PxTriangleMesh_getTriangles(
self_: *const PxTriangleMesh
) -> *const c_void
Expand description
Returns the triangle indices.
The indices can be 16 or 32bit depending on the number of triangles in the mesh. Call getTriangleMeshFlags() to know if the indices are 16 or 32 bits.
The number of indices is the number of triangles * 3.
array of triangles