| 382 | }; |
| 383 | |
| 384 | int main(int argc, char* argv[]) |
| 385 | { |
| 386 | TinyRendererGUIHelper noGfx(640, 480); |
| 387 | |
| 388 | CommonExampleOptions options(&noGfx); |
| 389 | CommonExampleInterface* example = StandaloneExampleCreateFunc(options); |
| 390 | |
| 391 | example->initPhysics(); |
| 392 | example->resetCamera(); |
| 393 | |
| 394 | for (int i = 0; i < 1000; i++) |
| 395 | { |
| 396 | printf("Simulating step %d\n", i); |
| 397 | example->stepSimulation(1.f / 60.f); |
| 398 | example->renderScene(); |
| 399 | } |
| 400 | example->exitPhysics(); |
| 401 | |
| 402 | delete example; |
| 403 | |
| 404 | return 0; |
| 405 | } |
nothing calls this directly
no test coverage detected