Function physx_sys::PxTriangleMesh_getTrianglesRemap
source · pub unsafe extern "C" fn PxTriangleMesh_getTrianglesRemap(
self_: *const PxTriangleMesh
) -> *const u32
Expand description
Returns the triangle remapping table.
The triangles are internally sorted according to various criteria. Hence the internal triangle order does not always match the original (user-defined) order. The remapping table helps finding the old indices knowing the new ones:
remapTable[ internalTriangleIndex ] = originalTriangleIndex
the remapping table (or NULL if ‘PxCookingParams::suppressTriangleMeshRemapTable’ has been used)