glutWireCylinder - Man Page

Draw a wireframe cylinder.

Library

OpenGLUT - geometry

Synopsis

#include <openglut.h>

void
glutWireCylinder(GLdouble radius, GLdouble height, GLint slices, GLint stacks);

Parameters


radius

Radius of cylinder.


height

Z height.


slices

Number of divisions around the z axis.


stacks

Number of divisions along the z axis.

Description

glutWireCylinder() draws a wireframe of a cylinder, the center of whose base is at the origin, and whose axis parallels the z axis.

See Also

glutSolidCylinder(3)

Referenced By

glutSolidCylinder(3).