gleToroid(3xgle)

gleToroid3xgle

Generalized torus, lathe with circle contour.

Usage

void gleToroid (gleDouble rToroid,
gleDouble up[3],
gleDouble startRadius,
gleDouble drdTheta,
gleDouble startZ,
gleDouble dzdTheta,
gleDouble startXform[2][3],
gleDouble dXformdTheta[2][3],
gleDouble startTheta,
gleDouble sweepTheta);

Arguments

rToroid

circle contour (torus) radius

startRadius

spiral starts in x-y plane

drdTheta

change in radius per revolution

startZ

starting z value

dzdTheta

change in Z per revolution

startXform

starting contour affine transformation

dXformdTheta

tangent change xform per revolution

startTheta

start angle in x-y plane

sweepTheta

degrees to spiral around

Overview

Generalized Torus. Similar to gleLathe, except contour is a circle. Uses gleLathe to draw.

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.