Signature
Parameters
Variables | Description |
---|---|
ncp |
number of contour points
|
contour |
2D contour
|
cont_normal |
2D contour normals
|
up |
up vector for contour
|
startx |
start of segment
|
endz |
end of segment
|
twist |
number of rotations
|
Description
Draws screw-type shapes. Takes a contour, and extrudes it along the z-axis, from a start z value of startz to an end
z-value of endz. During the extrusion, it will spin the contour along the contour origin by twist degrees.
Author
Linas Vepstas
See Also
gleExtrusionSample 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.
gleScrew