From f26de7de42a3d0a52365de79f528fcea808e2bca Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Tue, 9 Oct 2018 14:50:13 +0100 Subject: [PATCH] Fix typo --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 99312d3..4cc4280 100644 --- a/main.cpp +++ b/main.cpp @@ -242,7 +242,7 @@ void timer(int _) { camPos.y += ySpeed; camPos.z += zSpeed * sin(yaw) - xSpeed * cos(yaw); glutPostRedisplay(); - glutTimerFunc(16, idle, 0); + glutTimerFunc(16, timer, 0); } int prevMouseX, prevMouseY; -- 2.30.2