GLUTSOLIDCONE

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutSolidCone - Draw a solid cone.  

LIBRARY

OpenGLUT - geometry  

SYNOPSIS

In openglut.h Ft void Fn glutSolidCone GLdouble base GLdouble height GLint slices GLint stacks  

PARAMETERS

Bf Em
 base Ef
       Cone radius at the base in the xy plane.

Bf Em
 height Ef
     Height of cone in positive z direction.

Bf Em
 slices Ef
     The number of divisions around the z axis. (latitudal)

Bf Em
 stacks Ef
     The number of divisions along the z axis. (longitudal)  

DESCRIPTION

The glutSolidCone() function draws a shaded cone with a base in the xy-plane, oriented in the positive z direction.

 

CAVEATS

The number of polygons representing the conical surface is proportional to (slices*stacks).

 

SEE ALSO

glutWireCone(3)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
CAVEATS
SEE ALSO