Improved assignments for 2020

This commit is contained in:
Michael
2020-01-31 17:03:40 +01:00
committed by Michael H. Gimle
parent bb8c4d8625
commit fca107c75b
18 changed files with 321 additions and 338 deletions

View File

@@ -24,6 +24,9 @@ void runProgram(GLFWwindow* window, CommandLineOptions options)
// Configure miscellaneous OpenGL settings
glEnable(GL_CULL_FACE);
// Disable built-in dithering
glDisable(GL_DITHER);
// Set default colour after clearing the colour buffer
glClearColor(0.3f, 0.5f, 0.8f, 1.0f);
@@ -43,7 +46,6 @@ void runProgram(GLFWwindow* window, CommandLineOptions options)
// Handle other events
glfwPollEvents();
handleKeyboardInput(window);