Scroll to navigation

gleScrew(3GLE) GLE gleScrew(3GLE)

NAME

gleScrew - Draws screw-type shapes.

SYNTAX

void gleScrew (int ncp,

gleDouble contour[][2],
gleDouble cont_normal[][2],
gleDouble up[3], gleDouble startz, gleDouble endz, gleDouble twist);

ARGUMENTS

number of contour points
2D contour
2D contour normals
up vector for contour
start of segment
end of segment
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.

SEE ALSO

gleExtrusion

AUTHOR

Linas Vepstas (linas@linas.org)

3.0 GLE