manpagez: man pages & more
man glutWireTorus(3)
Home | html | info | man
glutSolidTorus(3GLUT)                GLUT                glutSolidTorus(3GLUT)




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(3), glutSolidCube(3), glutSolidCone(3),
       glutSolidDodecahedron(3), glutSolidOctahedron(3),
       glutSolidTetrahedron(3), glutSolidIcosahedron(3), glutSolidTeapot(3)


AUTHOR

       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                  3.7                glutSolidTorus(3GLUT)

Mac OS X 10.6 - Generated Thu Sep 17 20:20:44 CDT 2009
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.