glutSolidCone(3xglut)

glutSolidCone3xglut

Render a solid or wireframe cone respectively.

Usage


    

    
        

void glutSolidCone(GLdouble base, GLdouble height,
GLint slices, GLint stacks); void glutWireCone(GLdouble base, GLdouble height,
GLint slices, GLint stacks);

Arguments

base

The radius of the base of the cone.

height

The height of the cone.

slices

The number of subdivisions around the Z axis.

stacks

The number of subdivisions along the Z axis.

Overview

glutSolidCone and glutWireCone render a solid or wireframe cone respectively oriented along the Z axis. The base of the cone is placed at Z = 0, and the top at Z = height. The cone 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.