Scroll to navigation

GLUTWIRECONE(3) Library Functions Manual (local) GLUTWIRECONE(3)

NAME

glutWireConeDraw a wireframe cone.

LIBRARY

OpenGLUT - geometry

SYNOPSIS

#include <openglut.h>

void
glutWireCone(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 glutWireCone() function draws a wireframe cone with a base in the xy plane oriented in positive z.

CAVEATS

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

SEE ALSO

glutSolidCone(3)