put everything into one class,

Bug: still nothing displayed
This commit is contained in:
Anakin
2016-09-07 16:07:56 +02:00
parent f824f4eb4c
commit 57472da352
3 changed files with 184 additions and 74 deletions

View File

@@ -8,12 +8,10 @@ int main(int argc, char** argv)
{
OpenGLController scene = OpenGLController::getInstance();
scene.loadMsh("");
do {
scene.updateScene();
glfwSwapBuffers(scene.getWindow());
glfwPollEvents();
} while (!glfwWindowShouldClose(scene.getWindow()));
return 0;