gleSetNumSides(3gle)

gleSetNumSides3gle

Query and set the cylinder roundness.

Usage


    

    
        

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

Arguments

nslices

positive integer number of slices

Overview

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 noticeable visual effect.

Releases

12 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–10
  2. 11–13

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

Author

Linas Vepstas ([email protected])

From libgle3-dev 3.1.2-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.