Tao.FreeGlut SDK Documentation

Glut.glutWireCone Method 

Renders a wireframe cone.

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

Parameters

baseRadius
The radius of the base of the cone.
height
The height of the cone.
slices
The number of subdivisions around the Z axis.
stacks
The number of subdivisions along the Z axis.

Remarks

glutWireCone renders a wireframe cone oriented along the Z axis. The baseRadius of the cone is placed at Z = 0, and the top at Z = height. The cone is subdivided around the Z axis into slices, and along the Z axis into stacks.

See Also

Glut Class | Tao.FreeGlut Namespace | glutSolidCone