Function physx_sys::phys_PxValidateConvexMesh
source · pub unsafe extern "C" fn phys_PxValidateConvexMesh(
params: *const PxCookingParams,
desc: *const PxConvexMeshDesc
) -> bool
Expand description
Verifies if the convex mesh is valid. Prints an error message for each inconsistency found.
The convex mesh descriptor must contain an already created convex mesh - the vertices, indices and polygons must be provided.
This function should be used if PxConvexFlag::eDISABLE_MESH_VALIDATION is planned to be used in release builds.
true if all the validity conditions hold, false otherwise.