"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "gle-3.1.0/man/gleSetNumSides.man" of archive gle-3.1.0.tar.gz:


Caution: As a special service "SfR Fresh" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted manual source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

Table of Contents

Name

gleSetNumSides, gleGetNumSides - Query and Set the cylinder roundness.

Syntax


void gleSetNumSides (int nslices);
int gleGetNumSides (void);

Arguments

nslices
positive integer number of slices

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.

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).

See Also

glePolyCylinder, glePolyCone

Author

Linas Vepstas (linas@linas.org)


Table of Contents