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

Method reset

testbed/scenes/joints/JointsScene.cpp:189–196  ·  view source on GitHub ↗

Reset the scene

Source from the content-addressed store, hash-verified

187}
188// Reset the scene
189void JointsScene::reset() {
190
191 SceneDemo::reset();
192
193 destroyPhysicsWorld();
194 createPhysicsWorld();
195 initBodiesPositions();
196}
197
198// Create the boxes and joints for the Ball-and-Socket joint example
199void JointsScene::createBallAndSocketJoints() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected