projects
/
o2demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spaceball
[o2demo]
/
src
/
parts
/
example.c
diff --git
a/src/parts/example.c
b/src/parts/example.c
index
fbfdf7d
..
d52f20f
100644
(file)
--- a/
src/parts/example.c
+++ b/
src/parts/example.c
@@
-64,6
+64,7
@@
static void draw(void)
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
+ glMultMatrixf(sball_inv_matrix);
glTranslatef(0, 0, -cam_dist);
glRotatef(cam_phi, 1, 0, 0);
glRotatef(cam_theta, 0, 1, 0);