Rechercher une page de manuel
glutSolidTorus
Langue: en
Version: 165803 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutSolidTorus - Draw a solid torus.LIBRARY
OpenGLUT - geometrySYNOPSIS
In openglut.h Ft void Fn glutSolidTorus GLdouble dInnerRadius GLdouble dOuterRadius GLint nSides GLint nRingsPARAMETERS
Bf Em
dInnerRadius Ef
Radius of ``tube''
Bf Em
dOuterRadius Ef
Radius of ``path''
Bf Em
nSides Ef
Facets around ``tube''
Bf Em
nRings Ef
Joints along ``path''
DESCRIPTION
This function effectively wraps a cylinder with Bf SynSides Ef
slats and bends it at Bf Sy
nRings Ef
facets around a circular path, forming a torus, or ``donut''. The center is at the origin and the ``path'' rings around the z axis.
The torus parameters can be explored interactively with the OpenGLUT shapes demo.
CAVEATS
Bf SydInnerRadius Ef
and Bf Sy
dOuterRadius Ef
are Bf Em
not Ef
analogous to similar measurements of an anulus.
SEE ALSO
glutWireTorus(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre