projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
starting infcubes part
[dosdemo]
/
src
/
greets.c
diff --git
a/src/greets.c
b/src/greets.c
index
57f85e8
..
353d29c
100644
(file)
--- a/
src/greets.c
+++ b/
src/greets.c
@@
-211,11
+211,10
@@
static void draw(void)
g3d_matrix_mode(G3D_MODELVIEW);
g3d_load_identity();
g3d_translate(0, 0, -cam_dist);
g3d_matrix_mode(G3D_MODELVIEW);
g3d_load_identity();
g3d_translate(0, 0, -cam_dist);
+ g3d_rotate(cam_phi, 1, 0, 0);
+ g3d_rotate(cam_theta, 0, 1, 0);
if(opt.sball) {
g3d_mult_matrix(sball_matrix);
if(opt.sball) {
g3d_mult_matrix(sball_matrix);
- } else {
- g3d_rotate(cam_phi, 1, 0, 0);
- g3d_rotate(cam_theta, 0, 1, 0);
}
memcpy(cur_smokebuf, prev_smokebuf, smokebuf_size);
}
memcpy(cur_smokebuf, prev_smokebuf, smokebuf_size);