| 653 | } |
| 654 | |
| 655 | EE_MAIN_FUNC int main( int, char*[] ) { |
| 656 | mWindow = Engine::instance()->createWindow( WindowSettings( 1024, 768, "eepp - Physics" ), |
| 657 | ContextSettings( true ) ); |
| 658 | |
| 659 | if ( mWindow->isOpen() ) { |
| 660 | KM = mWindow->getInput(); |
| 661 | |
| 662 | mWindow->setClearColor( RGB( 255, 255, 255 ) ); |
| 663 | |
| 664 | physicsCreate(); |
| 665 | |
| 666 | mWindow->runMainLoop( &mainLoop ); |
| 667 | |
| 668 | physicsDestroy(); |
| 669 | } |
| 670 | |
| 671 | PhysicsManager::destroySingleton(); |
| 672 | |
| 673 | Engine::destroySingleton(); |
| 674 | |
| 675 | MemoryManager::showResults(); |
| 676 | |
| 677 | return EXIT_SUCCESS; |
| 678 | } |
nothing calls this directly
no test coverage detected