From fd12fd987fc3f8d80494be847156a8e8cd4c1588 Mon Sep 17 00:00:00 2001 From: Diogo Matos Date: Mon, 4 Mar 2024 16:27:48 +0000 Subject: [PATCH] chore: format --- engine/src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/engine/src/main.cpp b/engine/src/main.cpp index 8736870..c015b73 100644 --- a/engine/src/main.cpp +++ b/engine/src/main.cpp @@ -60,10 +60,9 @@ void renderScene(void) { glEnd(); glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); - for(std::string model : c.models) { + for (std::string model : c.models) { drawFile(model.data()); } - // End of frame glutSwapBuffers(); @@ -109,7 +108,7 @@ int main(int argc, char** argv) { glutInitWindowPosition(100, 100); glutInitWindowSize(c.window.width, c.window.height); glutCreateWindow("CG@DI"); - + // put callback registry here glutIdleFunc(renderScene); glutDisplayFunc(renderScene);