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