Take a single step of simulation
| 273 | |
| 274 | // Take a single step of simulation |
| 275 | inline 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 |
| 285 | inline void TestbedApplication::enableVSync(bool enable) { |
no test coverage detected