table of contents
other versions
- Tumbleweed 3.2.2-2.1
- Leap-16.0
- Leap-15.6
| GLUTSOLIDCYLINDER(3) | Library Functions Manual (local) | GLUTSOLIDCYLINDER(3) |
NAME¶
glutSolidCylinder —
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.