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

Method destroyPhysicsWorld

src/engine/PhysicsCommon.cpp:246–251  ·  view source on GitHub ↗

Destroy an instance of PhysicsWorld * @param world A pointer to the physics world to destroy */

Source from the content-addressed store, hash-verified

244 * @param world A pointer to the physics world to destroy
245 */
246void PhysicsCommon::destroyPhysicsWorld(PhysicsWorld* world) {
247
248 deletePhysicsWorld(world);
249
250 mPhysicsWorlds.remove(world);
251}
252
253// Delete an instance of PhysicsWorld
254/**

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected