-> Click here to learn how to get live help <-
NAMEgluSphere - draw a sphere
C SPECIFICATIONvoid f3gluSpherefP( GLUquadric* fIquadfP,
f2quadfP Specifies the quadrics object (created with %f3gluNewQuadricfP).
DESCRIPTION%f3gluSpherefP draws a sphere of the given radius centered around the origin. The sphere is subdivided around the f2zfP axis into slices and along the f2zfP axis into stacks (similar to lines of longitude and latitude). If the orientation is set to %f3GLU_OUTSIDEfP (with %f3gluQuadricOrientationfP), then any normals generated point away from the center of the sphere. Otherwise, they point toward the center of the sphere. If texturing is turned on (with %f3gluQuadricTexturefP), then texture coordinates are generated so that f2tfP ranges from 0.0 at $ z ~=~ -^"radius" $ to 1.0 at $ z ~=~ "radius" $ (f2tfP increases linearly along longitudinal lines), and f2sfP ranges from 0.0 at the +f2yfP axis, to 0.25 at the +f2xfP axis, to 0.5 at the -f2yfP axis, to 0.75 at the -f2xfP axis, and back to 1.0 at the +f2yfP axis.
SEE ALSO%f3gluCylinder(3G)fP, %f3gluDisk(3G)fP, %f3gluNewQuadric(3G)fP, %f3gluPartialDisk(3G)fP, %f3gluQuadricOrientation(3G)fP, %f3gluQuadricTexture(3G)fP