Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
glutSolidTorus(3GLUT)		      GLUT		   glutSolidTorus(3GLUT)

NAME
     glutSolidTorus,  glutWireTorus  - render a solid or wireframe torus (dough-
     nut) 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  (dough-
     nut) respectively centered at the modeling coordinates origin whose axis is
     aligned with the Z axis.

SEE ALSO
     glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidDodecahedron, glut-
     SolidOctahedron,	 glutSolidTetrahedron,	  glutSolidIcosahedron,    glut-
     SolidTeapot

AUTHOR
     Mark J. Kilgard (mjk@nvidia.com)

GLUT				       3.7		   glutSolidTorus(3GLUT)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=glutSolidTorus&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help