glutSolidSphere (3) Linux Manual Page
glutSolidSphere – Draw a solid sphere centered at the origin.
Library
OpenGLUT – geometry
Synopsis
In openglut.h Ft void Fn glutSolidSphere GLdouble radius GLint slices GLint stacks
Parameters
Bf Em
Bf Em
Bf Em
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).
