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

Method destroyTriangleMesh

src/engine/PhysicsCommon.cpp:728–733  ·  view source on GitHub ↗

Destroy a triangle mesh * @param triangleMesh A pointer to the triangle mesh to destroy */

Source from the content-addressed store, hash-verified

726 * @param triangleMesh A pointer to the triangle mesh to destroy
727 */
728void PhysicsCommon::destroyTriangleMesh(TriangleMesh* triangleMesh) {
729
730 deleteTriangleMesh(triangleMesh);
731
732 mTriangleMeshes.remove(triangleMesh);
733}
734
735// Destroy a height-field
736/**

Callers 2

~TestWorldQueriesMethod · 0.80
~ConcaveMeshMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 1

~TestWorldQueriesMethod · 0.64