glePolyCylinder

Draw polycylinder, specified as a polyline.

Signature

glePolyCylinder( int( npoints ) , gleDouble[][3]( point_array ) , float[][3]( color_array ) , gleDouble( radius ) )-> void
glePolyCylinder( point_array , color_array , radius )
glePolyCylinder( c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array), gleDouble(radius) ) -> None

Parameters

VariablesDescription
npoints
numpoints in poly-line
point_array
polyline vertices
color_array
colors at polyline verts
radius
cylinder radius

See Also

glePolyCone gleSetNumSides

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.

glePolyCylinder
Glinter Widget.py Lines: 70, 72, 74, 76, 847