Unix and Linux Discussions Tagged with loops |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
4,171 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,217 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
3,920 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,166 |
Shell Programming and Scripting |
|
|
|
1 |
1,438 |
Shell Programming and Scripting |
|
|
|
2 |
1,207 |
Shell Programming and Scripting |
|
|
|
6 |
4,741 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
9,769 |
Shell Programming and Scripting |
|
|
|
6 |
3,329 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
2,251 |
Shell Programming and Scripting |
|
|
|
1 |
2,624 |
Homework & Coursework Questions |
|
|
|
3 |
3,120 |
Shell Programming and Scripting |
|
|
|
5 |
25,877 |
Shell Programming and Scripting |
|
|
|
1 |
3,468 |
Shell Programming and Scripting |
|
|
|
2 |
6,069 |
Shell Programming and Scripting |
|
|
|
2 |
8,700 |
Shell Programming and Scripting |
|
|
|
3 |
2,024 |
Shell Programming and Scripting |
|
|
|
4 |
27,850 |
Shell Programming and Scripting |
|
|
|
0 |
1,006 |
UNIX and Linux RSS News |
|
|
|
3 |
2,469 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,412 |
Shell Programming and Scripting |
|
|
|
0 |
2,964 |
Shell Programming and Scripting |
|
|
|
1 |
3,608 |
Shell Programming and Scripting |
|
|
|
1 |
2,201 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
10,862 |
Cybersecurity |
|
|
|
2 |
11,543 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
40,321 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,398 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,425 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
25,342 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,420 |
UNIX for Dummies Questions & Answers |
GLUDISK(3G) GLUDISK(3G)
NAME
gluDisk - draw a disk
C SPECIFICATION
void gluDisk( GLUquadric* quad,
GLdouble inner,
GLdouble outer,
GLint slices,
GLint loops )
PARAMETERS
quad Specifies the quadrics object (created with gluNewQuadric).
inner Specifies the inner radius of the disk (may be 0).
outer Specifies the outer radius of the disk.
slices Specifies the number of subdivisions around the z axis.
loops Specifies the number of concentric rings about the origin into which the disk is subdivided.
DESCRIPTION
gluDisk renders a disk on the z = 0 plane. The 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 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 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 has been turned on (with gluQuadricTexture), texture coordinates are generated linearly such that where r=outer, the value at
(r, 0, 0) is (1, 0.5), at (0, r, 0) it is (0.5, 1), at (-r, 0, 0) it is (0, 0.5), and at (0, -r, 0) it is (0.5, 0).
SEE ALSO
gluCylinder(3G), gluNewQuadric(3G), gluPartialDisk(3G), gluQuadricOrientation(3G), gluQuadricTexture(3G), gluSphere(3G)
GLUDISK(3G)