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

Method reset

testbed/scenes/cubes/CubesScene.cpp:149–156  ·  view source on GitHub ↗

Reset the scene

Source from the content-addressed store, hash-verified

147
148// Reset the scene
149void CubesScene::reset() {
150
151 SceneDemo::reset();
152
153 destroyPhysicsWorld();
154 createPhysicsWorld();
155 initBodiesPositions();
156}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected