![[Next]](buttons/ArrowRightOff.gif)
C Specification
void gluPartialDisk(
GLUquadric* quad,
GLdouble inner,
GLdouble outer,
GLint slices,
GLint loops,
GLdouble start,
GLdouble sweep)
Parameters
Description
Y axis, and 270 along the
X axis).
The partial disk has a radius of outer, and contains a concentric circular hole with a radius of inner. If inner is 0, then no hole is generated. The partial disk is subdivided around the Z axis into slices (like pizza slices), and also about the Z axis into rings (as specified by slices and loops, respectively).
With respect to orientation, the +Z side of the partial disk is considered to
be outside (see gluQuadricOrientation). This
means that if the orientation is set to GLU_OUTSIDE, then any
normals generated point along the +Z axis. Otherwise, they point along the
Z axis.
If texturing is turned on (with gluQuadricTexture), texture
coordinates are generated linearly such that where
r, 0,
0)
r, 0) it is (0.5, 0.0)
See Also