1gleSetNumSides(3GLE) GLE gleSetNumSides(3GLE)
2
3
4
6 gleSetNumSides, gleGetNumSides - Query and Set the cylinder roundness.
7
9 void gleSetNumSides (int nslices);
10 int gleGetNumSides (void);
11
13 nslices positive integer number of slices
14
16 Query and set the GLE cylinder and cone roundness. When GLE draws a
17 cylinder or a cone, it approximates the circular cross-section with a
18 polygon (of 20 sides by default). These subroutines can be used to
19 change the default number of sides in this cross-section. A smaller
20 number of sides can typically be drawn much faster, at the loss of some
21 visual accuracy. Increasing the number of sides to more than 20 will
22 typically have no noticable visual effect.
23
24
26 Multiple threads using GLE share a single global number of sides
27 (although this should be easily fixable because GLE does use a centralā
28 ized graphics context).
29
30
32 glePolyCylinder, glePolyCone
33
35 Linas Vepstas (linas@linas.org)
36
37
38
39GLE 3.0 gleSetNumSides(3GLE)