pub unsafe extern "C" fn PxMeshQuery_getTriangle(
triGeom: *const PxTriangleMeshGeometry,
transform: *const PxTransform,
triangleIndex: u32,
triangle: *mut PxTriangle,
vertexIndices: *mut u32,
adjacencyIndices: *mut u32,
)Expand description
Retrieves triangle data from a triangle ID.
This function can be used together with findOverlapTriangleMesh to retrieve triangle properties.
This function will flip the triangle normal whenever triGeom.scale.hasNegativeDeterminant() is true.