Tao.FreeGlut SDK Documentation

Glut.glutSolidCylinder Method 

Draw a solid cylinder.

[Visual Basic]
Public Shared Sub glutSolidCylinder( _
   ByVal radius As Double, _
   ByVal height As Double, _
   ByVal slices As Integer, _
   ByVal stacks As Integer _
)
[C#]
public static void glutSolidCylinder(
   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 solid 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