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
/
bouncingcow.c
diff --git
a/hacks/glx/bouncingcow.c
b/hacks/glx/bouncingcow.c
index 21ece3c7dc714d70dc88716f40f40faf61ac0974..b769c1172c9eea34f4dc829bf6c5da125c77e1da 100644
(file)
--- a/
hacks/glx/bouncingcow.c
+++ b/
hacks/glx/bouncingcow.c
@@
-447,6
+447,8
@@
draw_floater (ModeInfo *mi, floater *f)
glPushMatrix();
glTranslatef (f->x, f->y, f->z);
glPushMatrix();
glTranslatef (f->x, f->y, f->z);
+ gltrackball_rotate (bp->trackball);
+
glRotatef (y * 360, 0.0, 1.0, 0.0);
if (f->spinner_p)
{
glRotatef (y * 360, 0.0, 1.0, 0.0);
if (f->spinner_p)
{
@@
-500,7
+502,6
@@
draw_cow (ModeInfo *mi)
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix ();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix ();
- gltrackball_rotate (bp->trackball);
glRotatef(current_device_rotation(), 0, 0, 1);
glScalef (0.5, 0.5, 0.5);
glRotatef(current_device_rotation(), 0, 0, 1);
glScalef (0.5, 0.5, 0.5);