Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
diogogmatos committed Mar 4, 2024
1 parent 7ae169a commit fd12fd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions engine/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fd12fd9

Please sign in to comment.