Rechercher une page de manuel
glutSolidSphere
Langue: en
Version: 158848 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutSolidSphere - Draw a solid sphere centered at the origin.LIBRARY
OpenGLUT - geometrySYNOPSIS
In openglut.h Ft void Fn glutSolidSphere GLdouble radius GLint slices GLint stacksPARAMETERS
Bf Em
radius Ef
Sphere radius.
Bf Em
slices Ef
The number of divisions around the z axis. (latitudal)
Bf Em
stacks Ef
The number of divisions along the z axis. (longitudal)
DESCRIPTION
The glutSolidSphere() function draws a shaded sphere centered at the origin. The surface is created from quadrangles (except for triangles as degenerate quads at the poles) in a longitude/latitude pattern. The equatorial great circle lies in the xy-plane and is centered on the origin.CAVEATS
The number of polygons representing the spherical surface is proportional to (slices*stacks).SEE ALSO
glutWireSphere(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre