- // middle cylinder
- glPushMatrix();
- glTranslatef(0, 3, 0);
- glRotatef(22.5, 0, 1, 0);
- glRotatef(-90, 1, 0, 0);
- glutSolidCylinder(0.5, 1.0, 8, 1);
- glPopMatrix();
-
- // trim middle cylinder (mporntoura)
- glPushMatrix();
- glTranslatef(0, 3.9, 0);
- glRotatef(22.5, 0, 1, 0);
- glRotatef(-90, 1, 0, 0);
- glutSolidCylinder(0.55, 0.02, 8, 1);
- glPopMatrix();