glutWireCone - Man Page
Draw 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).