glutSolidCone (3) - Linux Manuals

glutSolidCone: Draw a solid cone.

NAME

glutSolidCone - Draw a solid cone.

LIBRARY

OpenGLUT - geometry

SYNOPSIS

In openglut.h Ft void Fn glutSolidCone GLdouble base GLdouble height GLint slices GLint stacks

PARAMETERS

Bf Em
 base Ef
       Cone radius at the base in the xy plane.

Bf Em
 height Ef
     Height of cone in positive z direction.

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 glutSolidCone() function draws a shaded cone with a base in the xy-plane, oriented in the positive z direction.

CAVEATS

The number of polygons representing the conical surface is proportional to (slices*stacks).

SEE ALSO

glutWireCone(3)