glutWireSphere - Man Page

Draw a wireframe sphere centered at the origin.

Library

OpenGLUT - geometry

Synopsis

#include <openglut.h>

void
glutWireSphere(GLdouble radius, GLint slices, GLint stacks);

Parameters


radius

Sphere radius.


slices

The number of divisions around the z axis. (latitudal)


stacks

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)

Referenced By

glutSolidSphere(3).