put everything into one class,
Bug: still nothing displayed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user