MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / destroyConvexMeshShape

Method destroyConvexMeshShape

src/engine/PhysicsCommon.cpp:443–448  ·  view source on GitHub ↗

Destroy a convex mesh shape * @param convexMeshShape A pointer to the convex mesh shape to destroy */

Source from the content-addressed store, hash-verified

441 * @param convexMeshShape A pointer to the convex mesh shape to destroy
442 */
443void PhysicsCommon::destroyConvexMeshShape(ConvexMeshShape* convexMeshShape) {
444
445 deleteConvexMeshShape(convexMeshShape);
446
447 mConvexMeshShapes.remove(convexMeshShape);
448}
449
450// Delete a convex mesh shape
451/**

Callers 4

~TestPointInsideMethod · 0.80
~TestRaycastMethod · 0.80
~TestWorldQueriesMethod · 0.80
~ConvexMeshMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 3

~TestPointInsideMethod · 0.64
~TestRaycastMethod · 0.64
~TestWorldQueriesMethod · 0.64