gleSetNumSides

Query and Set the cylinder roundness.

Signature

gleGetNumSides( )-> int
gleGetNumSides( ) -> <class 'ctypes.c_int'>
gleGetNumSides(  ) -> c_int
gleSetNumSides( int( nslices ) )-> void
gleSetNumSides( slices )
gleSetNumSides( c_int(slices) ) -> None

Parameters

VariablesDescription
nslices
positive integer number of slices

See Also

glePolyCylinder glePolyCone

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gleSetNumSides
OpenGLContext OpenGLContext/scenegraph/extrusions.py Lines: 102