glutSolidCone - Man Page

Draw a solid cone.

Library

OpenGLUT - geometry

Synopsis

#include <openglut.h>

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

Parameters


base

Cone radius at the base in the xy plane.


height

Height of cone in positive z direction.


slices

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


stacks

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)

Referenced By

glutWireCone(3).