20 lines
380 B
C++
20 lines
380 B
C++
#ifndef _DEBUG
|
|
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
|
|
#endif // DEBUG
|
|
|
|
#include "OpenGLController.h"
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
OpenGLController *scene = OpenGLController::getInstance();
|
|
|
|
scene->loadMsh("test.msh");
|
|
|
|
do {
|
|
scene->updateScene();
|
|
} while (!glfwWindowShouldClose(scene->getWindow()));
|
|
|
|
delete scene;
|
|
|
|
return 0;
|
|
} |