Function physx::cooking::create_triangle_mesh
source · pub fn create_triangle_mesh(
physics: &mut impl Physics,
params: &PxCookingParams,
desc: &PxTriangleMeshDesc
) -> TriangleMeshCookingResult
Expand description
Cooks and creates a triangle mesh without going through a stream.
This method does the same as cook_triangle_mesh
, but the produced mesh is
not stored stored into a stream but but is directly inserted into the provided Physics
.