glutWireSphere (3) - Linux Manuals

glutWireSphere: Draw a wireframe sphere centered at the origin.

NAME

glutWireSphere - Draw a wireframe sphere centered at the origin.

LIBRARY

OpenGLUT - geometry

SYNOPSIS

In openglut.h Ft void Fn glutWireSphere GLdouble radius GLint slices GLint stacks

PARAMETERS

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 glutWireSphere() function draws a wireframe sphere centered at the origin. The "equatorial" great circle lies in the xy-plane.

CAVEATS

The number of line segments representing the spherical surface is proportional to (slices*stacks).

SEE ALSO

glutSolidSphere.3