1UNTITLED LOCAL UNTITLED
2
4 glutSolidCone — Draw a solid cone.
5
7 OpenGLUT - geometry
8
10 #include <openglut.h>
11
12 void
13 glutSolidCone(GLdouble base, GLdouble height, GLint slices,
14 GLint stacks);
15
17 base Cone radius at the base in the xy plane.
18
19 height Height of cone in positive z direction.
20
21 slices The number of divisions around the z axis. (latitudal)
22
23 stacks The number of divisions along the z axis. (longitudal)
24
26 The glutSolidCone() function draws a shaded cone with a base in the xy-
27 plane, oriented in the positive z direction.
28
30 The number of polygons representing the conical surface is proportional
31 to (slices*stacks).
32
34 glutWireCone(3)
35
36
37
38
39 Epoch