SysTutorials

Linux Manual Pages › Section 3

glutsolidcylinder(3)

glutSolidCylinder – Draw a solid cylinder.

Library

OpenGLUT – geometry

Synopsis

In openglut.h Ft void Fn glutSolidCylinder GLdouble radius GLdouble height GLint slices GLint stacks

Parameters

Bf Em
 radius Ef
     Radius of the cylinder.

Bf Em
 height Ef
     Z height.

Bf Em
 slices Ef
     Divisions around z axis.

Bf Em
 stacks Ef
     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.

See Also

glutWireCylinder(3)