Tao.FreeGlut SDK Documentation

Glut.glutWireCylinder Method 

Draw a wireframe cylinder.

[Visual Basic]
Public Shared Sub glutWireCylinder( _
   ByVal radius As Double, _
   ByVal height As Double, _
   ByVal slices As Integer, _
   ByVal stacks As Integer _
)
[C#]
public static void glutWireCylinder(
   double radius,
   double height,
   int slices,
   int stacks
);

Parameters

radius
Radius of cylinder.
height
Z height.
slices
Number of divisions around the z axis.
stacks
Number of divisions along the z axis.

Remarks

Draws a wireframe of a cylinder, the center of whose base is at the origin, and whose axis parallels the z axis.

See Also

Glut Class | Tao.FreeGlut Namespace