fixed interaction bug

This commit is contained in:
Anakin
2016-09-08 11:36:57 +02:00
parent ee73c16e1f
commit 11a8de82d4
3 changed files with 8 additions and 8 deletions

View File

@@ -6,13 +6,13 @@
int main(int argc, char** argv)
{
OpenGLController scene = OpenGLController::getInstance();
//scene.loadMsh("");
OpenGLController *scene = OpenGLController::getInstance();
do {
scene.updateScene();
} while (!glfwWindowShouldClose(scene.getWindow()));
scene->updateScene();
} while (!glfwWindowShouldClose(scene->getWindow()));
delete scene;
return 0;
}