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

Method destroyConcaveMeshShape

src/engine/PhysicsCommon.cpp:572–577  ·  view source on GitHub ↗

Destroy a concave mesh shape * @param concaveMeshShape A pointer to the concave mesh shape to destroy */

Source from the content-addressed store, hash-verified

570 * @param concaveMeshShape A pointer to the concave mesh shape to destroy
571 */
572void PhysicsCommon::destroyConcaveMeshShape(ConcaveMeshShape* concaveMeshShape) {
573
574 deleteConcaveMeshShape(concaveMeshShape);
575
576 mConcaveMeshShapes.remove(concaveMeshShape);
577}
578
579// Delete a concave mesh shape
580/**

Callers 3

~TestRaycastMethod · 0.80
~TestWorldQueriesMethod · 0.80
~ConcaveMeshMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 2

~TestRaycastMethod · 0.64
~TestWorldQueriesMethod · 0.64