X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fextrusion-screw.c;h=0b90bec92722c30e9f09d16fc51e95b31bc141dc;hp=cfae296844ef55848df7749cc9c874df8d66a45d;hb=2d04c4f22466851aedb6ed0f2919d148f726b889;hpb=bc7b7a8eb122206d239ec0e693676bcce31be1aa diff --git a/hacks/glx/extrusion-screw.c b/hacks/glx/extrusion-screw.c index cfae2968..0b90bec9 100644 --- a/hacks/glx/extrusion-screw.c +++ b/hacks/glx/extrusion-screw.c @@ -88,11 +88,9 @@ static void init_contour (void) /* =========================================================== */ +/* controls shape of object */ extern float lastx; extern float lasty; -extern float rot_x; -extern float rot_y; -extern float rot_z; void InitStuff_screw (void) { @@ -117,12 +115,9 @@ void DrawStuff_screw (void) { /* set up some matrices so that the object spins with the mouse */ glPushMatrix (); - glTranslatef (0.0, 0.0, -80.0); - glRotatef(rot_x, 1, 0, 0); - glRotatef(rot_y, 0, 1, 0); - glRotatef(rot_z, 0, 0, 1); -/* glRotatef (130.0, 0.0, 1.0, 0.0); */ -/* glRotatef (65.0, 1.0, 0.0, 0.0); */ + /* glTranslatef (0.0, 0.0, -80.0); */ + /* glRotatef (130.0, 0.0, 1.0, 0.0); */ + /* glRotatef (65.0, 1.0, 0.0, 0.0); */ /* draw the brand and the handle */ gleScrew (20, contour, norms,