glutSolidSphere(3GLUT) GLUT glutSolidSphere(3GLUT)
NAME
glutSolidSphere, glutWireSphere - render a solid or wireframe sphere respectively.
SYNTAX
void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks); void glutWireSphere(GLdouble radius, GLint slices, GLint stacks);
ARGUMENTS
radius The radius of the sphere. slices The number of subdivisions around the Z axis (similar to lines of longitude). stacks The number of subdivisions along the Z axis (similar to lines of latitude).
DESCRIPTION
Renders a sphere centered at the modeling coordinates origin of the specified radius. The sphere is subdivided around the Z axis into slices and along the Z axis into stacks.
SEE ALSO
glutSolidCube(3), glutSolidCone(3), glutSolidTorus(3), glutSolidDodecahedron(3), glutSolidOctahedron(3), glutSolidTetrahedron(3), glutSolidIcosahedron(3), glutSolidTeapot(3)
AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT 3.7 glutSolidSphere(3GLUT)
Mac OS X 10.6 - Generated Thu Sep 17 20:20:44 CDT 2009