projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.18.tar.gz
[xscreensaver]
/
hacks
/
glx
/
flipflop.c
diff --git
a/hacks/glx/flipflop.c
b/hacks/glx/flipflop.c
index 0d534e53785b81fc5bb92cf48fb35acdcc3fbaa9..640f21f704f996220c2e396656b48d8d4d43c887 100644
(file)
--- a/
hacks/glx/flipflop.c
+++ b/
hacks/glx/flipflop.c
@@
-270,9
+270,7
@@
display(Flipflopcreen *c)
/** setup perspectif */
glTranslatef(0.0, 0.0, -c->reldist*board_avg_size);
glRotatef(22.5, 1.0, 0.0, 0.0);
/** setup perspectif */
glTranslatef(0.0, 0.0, -c->reldist*board_avg_size);
glRotatef(22.5, 1.0, 0.0, 0.0);
- glRotatef(-current_device_rotation(), 0, 0, 1);
gltrackball_rotate (c->trackball);
gltrackball_rotate (c->trackball);
- glRotatef(current_device_rotation(), 0, 0, 1);
glRotatef(c->theta*100, 0.0, 1.0, 0.0);
glTranslatef(-0.5*board_x_size, 0.0, -0.5*board_y_size); /* Center the board */
glRotatef(c->theta*100, 0.0, 1.0, 0.0);
glTranslatef(-0.5*board_x_size, 0.0, -0.5*board_y_size); /* Center the board */