projects
/
opengl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
150ba29
)
Fix typo
author
Luke Lau
<luke_lau@icloud.com>
Tue, 9 Oct 2018 13:50:13 +0000
(14:50 +0100)
committer
Luke Lau
<luke_lau@icloud.com>
Tue, 9 Oct 2018 13:50:13 +0000
(14:50 +0100)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index 99312d384ed00ea36ff83640f32d5621201704fd..4cc4280be0180f5f44d86e7c426a99c8a7d2d771 100644
(file)
--- 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();
camPos.y += ySpeed;
camPos.z += zSpeed * sin(yaw) - xSpeed * cos(yaw);
glutPostRedisplay();
- glutTimerFunc(16,
idle
, 0);
+ glutTimerFunc(16,
timer
, 0);
}
int prevMouseX, prevMouseY;
}
int prevMouseX, prevMouseY;