1glePolyCone(3GLE)                     GLE                    glePolyCone(3GLE)
2
3
4

NAME

6       glePolyCone - Draw polycone, specified as a polyline with radii.
7

SYNTAX

9       void glePolyCone(int npoints,
10                        gleDouble point_array[][3],
11                        float color_array[][3],
12                        gleDouble radius_array[]);
13

ARGUMENTS

15       npoints   numpoints in poly-line
16
17       point_array
18                 polyline vertices
19
20       color_array
21                 colors at polyline verts
22
23       radius_array
24                 cone radii at polyline
25

DESCRIPTION

27       Draw polycone, specified as a polyline with radii.
28
29       Note that neither the very first segment, nor the very last segment are
30       drawn. The first and last segments serve only to define  the  angle  of
31       the  join  at the very ends of the polyline. Thus, to draw one segment,
32       three must be specified. To draw two segments, four must be  specified,
33       etc.
34
35       The color array may be NULL. If NULL, the current color is used. If not
36       NULL, the glColor3f() routine is used  to  set  the  color;  therefore,
37       specifying  the  glColorMaterial() subroutine before this primitive can
38       be used to set diffuse, specular, ambient, etc. colors.
39
40       By default, the cross-section of the cylinder is drawn  as  a  20-sided
41       polygon.   This  number  can be changed using the gleSetNumSides() rou‐
42       tine.
43
44

SEE ALSO

46       glePolyCylinder, gleSetNumSides
47

AUTHOR

49       Linas Vepstas (linas@linas.org)
50
51
52
53GLE                                   3.0                    glePolyCone(3GLE)
Impressum