fixed interaction bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user