Content-type: text/html
Manpage of glutSolidTorus
glutSolidTorus
Section: GLUT
(3GLUT)
Updated: 3.7
Index
Return to Main Contents
NAME
glutSolidTorus, glutWireTorus - render a solid or wireframe
torus (doughnut) respectively.
SYNTAX
void glutSolidTorus(GLdouble innerRadius,
GLdouble outerRadius,
GLint nsides, GLint rings);
void glutWireTorus(GLdouble innerRadius,
GLdouble outerRadius,
GLint nsides, GLint rings);
ARGUMENTS
- innerRadius
-
Inner radius of the torus.
- outerRadius
-
Outer radius of the torus.
- nsides
-
Number of sides for each radial section.
- rings
-
Number of radial divisions for the torus.
DESCRIPTION
glutSolidTorus and glutWireTorus render a solid or wireframe
torus (doughnut) respectively centered at the modeling coordinates origin
whose axis is aligned with the Z axis.
SEE ALSO
glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidDodecahedron,
glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron,
glutSolidTeapot
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
Index
- NAME
-
- SYNTAX
-
- ARGUMENTS
-
- DESCRIPTION
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 13:00:49 GMT, March 25, 2001