1glePolyCylinder(3GLE)                 GLE                glePolyCylinder(3GLE)
2
3
4

NAME

6       glePolyCylinder - Draw polycylinder, specified as a polyline.
7

SYNTAX

9       void glePolyCylinder(int npoints,
10                            gleDouble point_array[][3],
11                            float color_array[][3],
12                            gleDouble radius);
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    cylinder radius
24

DESCRIPTION

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

SEE ALSO

45       glePolyCone, gleSetNumSides
46

AUTHOR

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