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

Method destroyConvexMesh

src/engine/PhysicsCommon.cpp:679–683  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

677 * @param convexMesh A pointer to the convex mesh to destroy
678 */
679void PhysicsCommon::destroyConvexMesh(ConvexMesh* convexMesh) {
680
681 deleteConvexMesh(convexMesh);
682 mConvexMeshes.remove(convexMesh);
683}
684
685// Delete a convex mesh
686/**

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