table of contents
        
      
      
    | GLUTSOLIDCYLINDER(3) | Library Functions Manual (local) | GLUTSOLIDCYLINDER(3) | 
NAME¶
glutSolidCylinder —
    Draw a solid cylinder.
LIBRARY¶
OpenGLUT - geometry
SYNOPSIS¶
#include
    <openglut.h>
void
  
  glutSolidCylinder(GLdouble
    radius, GLdouble
    height, GLint
    slices, GLint
    stacks);
PARAMETERS¶
radius
Radius of the cylinder.
height
Z height.
slices
Divisions around z axis.
stacks
Divisions along z axis.
DESCRIPTION¶
glutSolidCylinder() draws a shaded cylinder, the center of whose base is at the origin and whose axis is along the positive z axis.