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

Method toggleTakeSinglePhysicsStep

testbed/src/TestbedApplication.h:275–282  ·  view source on GitHub ↗

Take a single step of simulation

Source from the content-addressed store, hash-verified

273
274// Take a single step of simulation
275inline void TestbedApplication::toggleTakeSinglePhysicsStep() {
276 mSinglePhysicsStepEnabled = true;
277 mSinglePhysicsStepDone = false;
278
279 if (mTimer.isRunning()) {
280 mSinglePhysicsStepEnabled = false;
281 }
282}
283
284// Enable/Disable Vertical synchronization
285inline void TestbedApplication::enableVSync(bool enable) {

Callers 1

createSimulationPanelMethod · 0.80

Calls 1

isRunningMethod · 0.80

Tested by

no test coverage detected