gluDisk, gluNewQuadric, gluPartialDisk, gluQuadricTexture, gluSphere
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
Page generated by adrdox
gluCylinder: man2/gluCylinder.xml
gluCylinder draws a cylinder oriented along the axis. The base of the cylinder is placed at = 0 and the top at z = height. Like a sphere, a cylinder is subdivided around the axis into slices and along the axis into stacks. Note that if top is set to 0.0, this routine generates a cone. If the orientation is set to GLU_OUTSIDE (with gluQuadricOrientation ), then any generated normals point away from the axis. Otherwise, they point toward the axis. If texturing is turned on (with gluQuadricTexture ), then texture coordinates are generated so that ranges linearly from 0.0 at = 0 to 1.0 at = height, and ranges from 0.0 at the + axis, to 0.25 at the + axis, to 0.5 at the - axis, to 0.75 at the \- axis, and back to 1.0 at the + axis.