gleScrew(3xgle)

gleScrew3xgle

Draws screw-type shapes.

Usage

void gleScrew (int ncp,
gleDouble contour[][2],
gleDouble cont_normal[][2],
gleDouble up[3],
gleDouble startz,
gleDouble endz,
gleDouble twist);

Arguments

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

Overview

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.

Releases

3 releases since Debian 2.0 (Hamm); the text changed 1 time.

  1. 2.0–2.1
  2. 2.2

Author

Linas Vepstas ([email protected])

From glut-doc 3.7-5 in Debian 2.2 (Potato). Parsed by carta from the page's man source.