[ADDED] timer class

This commit is contained in:
Menno
2021-06-01 11:41:21 +02:00
parent 739b4a9eb6
commit f03cc485cd
4 changed files with 61 additions and 6 deletions

View File

@@ -55,6 +55,11 @@ int main(void)
glfwSetKeyCallback(window, [](GLFWwindow* window, int key, int scancode, int action, int mods)
{
if (key == GLFW_KEY_ESCAPE)
{
glfwSetWindowShouldClose(window, true);
}
current_scene->onKey(window, key, scancode, action, mods);
});