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