glutSolidSphere(3xglut)

glutSolidSphere3xglut

Render a solid or wireframe sphere respectively.

Usage


    

    
        

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).

Overview

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.

Releases

4 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–2.1
  2. 2.2
  3. 3.0

Author

Mark J. Kilgard ([email protected])

From glut-doc 3.7-14 in Debian 3.0 (Woody). Parsed by carta from the page's man source.