| 192 | } |
| 193 | |
| 194 | void Physics::stepSimulation(float time) { |
| 195 | dynamicsWorld->stepSimulation(time, 100); |
| 196 | for (auto &car : cars) { |
| 197 | car->update(dynamicsWorld); |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | void Physics::cleanSimulation() { |
| 202 | for (auto &car : cars) { |
no test coverage detected