Lines Matching refs:rad
286 GLfloat angle, rad, incr = 10.0 * M_PI / 180.0;
292 rad = angle * M_PI / 180.0;
293 glNormal3f (cos (rad), sin (rad), 0.0);
294 glVertex3f (radius * cos (rad), radius * sin (rad), length / 2);
295 glVertex3f (radius * cos (rad), radius * sin (rad), -length / 2);
296 glVertex3f (radius * cos (rad + incr), radius * sin (rad + incr), -length / 2);
297 glVertex3f (radius * cos (rad + incr), radius * sin (rad + incr), length / 2);
306 rad = angle * M_PI / 180.0;
308 glVertex3f (radius * cos (rad), radius * sin (rad), length / 2);
309 glVertex3f (radius * cos (rad + incr), radius * sin (rad + incr), length / 2);
319 rad = angle * M_PI / 180.0;
321 glVertex3f (radius * cos (rad), radius * sin (rad), -length / 2);
322 glVertex3f (radius * cos (rad + incr), radius * sin (rad + incr), -length / 2);