-> Click here to learn how to get live help <-
NAMEgluDisk - draw a disk
C SPECIFICATIONvoid f3gluDiskfP( GLUquadric* fIquadfP,
f2quadfP Specifies the quadrics object (created with %f3gluNewQuadricfP).
DESCRIPTION%f3gluDiskfP renders a disk on the f2zfP = 0 plane. The disk has a radius of f2outerfP, and contains a concentric circular hole with a radius of f2innerfP. If f2innerfP is 0, then no hole is generated. The disk is subdivided around the f2zfP axis into slices (like pizza slices), and also about the f2zfP axis into rings (as specified by f2slicesfP and f2loopsfP, respectively). With respect to orientation, the +f2zfP side of the disk is considered to be "outside" (see %f3gluQuadricOrientationfP). This means that if the orientation is set to %f3GLU_OUTSIDEfP, then any normals generated point along the +f2zfP axis. Otherwise, they point along the -f2zfP axis. If texturing has been turned on (with %f3gluQuadricTexturefP), texture coordinates are generated linearly such that where $ r ~=~ "outer" $, the value at (f2rfP, 0, 0) is (1, 0.5), at (0, f2rfP, 0) it is (0.5, 1), at (-f2rfP, 0, 0) it is (0, 0.5), and at (0, -f2rfP, 0) it is (0.5, 0).
SEE ALSO%f3gluCylinder(3G)fP, %f3gluNewQuadric(3G)fP, %f3gluPartialDisk(3G)fP, %f3gluQuadricOrientation(3G)fP, %f3gluQuadricTexture(3G)fP, %f3gluSphere(3G)fP