1UNTITLED LOCAL UNTITLED
2
4 glutSolidCylinder — Draw a solid cylinder.
5
7 OpenGLUT - geometry
8
10 #include <openglut.h>
11
12 void
13 glutSolidCylinder(GLdouble radius, GLdouble height, GLint slices,
14 GLint stacks);
15
17 radius Radius of the cylinder.
18
19 height Z height.
20
21 slices Divisions around z axis.
22
23 stacks Divisions along z axis.
24
26 glutSolidCylinder() draws a shaded cylinder, the center of whose base is
27 at the origin and whose axis is along the positive z axis.
28
30 glutWireCylinder(3)
31
32
33
34
35 Epoch