X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fflyingtoasters.c;h=23217f03a178617ae0892bbbd6b58833c9cb803b;hp=b9915f5a7fc7c5e3e9c100cee8290bdff4e86e8e;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/glx/flyingtoasters.c b/hacks/glx/flyingtoasters.c index b9915f5a..23217f03 100644 --- a/hacks/glx/flyingtoasters.c +++ b/hacks/glx/flyingtoasters.c @@ -810,10 +810,11 @@ draw_toasters (ModeInfo *mi) glRotatef(current_device_rotation(), 0, 0, 1); glRotatef(bp->view_x, 1, 0, 0); glRotatef(bp->view_y, 0, 1, 0); - glRotatef(-current_device_rotation(), 0, 0, 1); - gltrackball_rotate (bp->user_trackball); - glRotatef(current_device_rotation(), 0, 0, 1); + /* Rotate the scene around a point that's a little deeper in. */ + glTranslatef (0, 0, -50); + gltrackball_rotate (bp->user_trackball); + glTranslatef (0, 0, 50); #if 0 {