File: gleSetNumSides.man

package info (click to toggle)
gle 3.1.0-7
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 3,076 kB
  • ctags: 1,029
  • sloc: ansic: 10,002; sh: 8,455; makefile: 366; python: 102
file content (35 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.\"
.\" GLE Tubing & Extrusions Library Documentation 
.\"
.TH gleSetNumSides 3GLE "3.0" "GLE" "GLE"
.SH NAME
gleSetNumSides, gleGetNumSides - Query and Set the cylinder roundness.
.SH SYNTAX
.nf
.LP
void gleSetNumSides (int nslices);
int gleGetNumSides (void);
.fi
.SH ARGUMENTS
.IP \fInslices\fP 1i
positive integer number of slices
.SH DESCRIPTION

Query and set the GLE cylinder and cone roundness. When GLE draws
a cylinder or a cone, it approximates the circular cross-section
with a polygon (of 20 sides by default).  These subroutines can
be used to change the default number of sides in this cross-section.
A smaller number of sides can typically be drawn much faster, at
the loss of some visual accuracy.  Increasing the number of sides to
more than 20 will typically have no noticable visual effect.

.SH BUGS

Multiple threads using GLE share a single global number of sides
(although this should be easily fixable because GLE does use 
a centralized graphics context).

.SH SEE ALSO
glePolyCylinder, glePolyCone
.SH AUTHOR
Linas Vepstas (linas@linas.org)