glutSolidCylinder - Man Page
Draw a solid cylinder.
Library
OpenGLUT - geometry
Synopsis
#include <openglut.h
>
void
glutSolidCylinder
(GLdouble radius, GLdouble height, GLint slices, GLint stacks);
Parameters
radius
Radius of the cylinder.
height
Z height.
slices
Divisions around z axis.
stacks
Divisions along z axis.
Description
glutSolidCylinder() draws a shaded cylinder, the center of whose base is at the origin and whose axis is along the positive z axis.