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.19.tar.gz
[xscreensaver]
/
hacks
/
glx
/
tronbit.c
diff --git
a/hacks/glx/tronbit.c
b/hacks/glx/tronbit.c
index 261aca3c2f214263ea111e8c05ebc4af9bea97ec..3ab69f1ddb9d67f43154e9459b709cb240fe97ee 100644
(file)
--- a/
hacks/glx/tronbit.c
+++ b/
hacks/glx/tronbit.c
@@
-505,7
+505,6
@@
draw_bit (ModeInfo *mi)
glPushMatrix ();
glRotatef(current_device_rotation(), 0, 0, 1);
glPushMatrix ();
glRotatef(current_device_rotation(), 0, 0, 1);
-
glScalef(1.1, 1.1, 1.1);
{
glScalef(1.1, 1.1, 1.1);
{
@@
-514,10
+513,7
@@
draw_bit (ModeInfo *mi)
glTranslatef((x - 0.5) * 11,
(y - 0.5) * 5,
(z - 0.5) * 3);
glTranslatef((x - 0.5) * 11,
(y - 0.5) * 5,
(z - 0.5) * 3);
-
- glRotatef(-current_device_rotation(), 0, 0, 1);
gltrackball_rotate (bp->trackball);
gltrackball_rotate (bp->trackball);
- glRotatef(current_device_rotation(), 0, 0, 1);
get_rotation (bp->rot, &x, &y, &z, !bp->button_down_p);
glRotatef (x * 360, 1.0, 0.0, 0.0);
get_rotation (bp->rot, &x, &y, &z, !bp->button_down_p);
glRotatef (x * 360, 1.0, 0.0, 0.0);