Tao.FreeGlut SDK Documentation

Glut.glutWireTorus Method 

Renders a wireframe torus (doughnut).

[Visual Basic]
Public Shared Sub glutWireTorus( _
   ByVal innerRadius As Double, _
   ByVal outerRadius As Double, _
   ByVal sides As Integer, _
   ByVal rings As Integer _
)
[C#]
public static void glutWireTorus(
   double innerRadius,
   double outerRadius,
   int sides,
   int rings
);

Parameters

innerRadius
Inner radius of the torus.
outerRadius
Outer radius of the torus.
sides
Number of sides for each radial section.
rings
Number of radial divisions for the torus.

Remarks

glutWireTorus renders a wireframe torus (doughnut) centered at the modeling coordinates origin whose axis is aligned with the Z axis.

See Also

Glut Class | Tao.FreeGlut Namespace | glutSolidTorus