glutSolidCube (3) - Linux Man Pages

glutSolidCube: Draw a solid cube centered at the origin.

NAME

glutSolidCube - Draw a solid cube centered at the origin.

LIBRARY

OpenGLUT - geometry

SYNOPSIS

In openglut.h Ft void Fn glutSolidCube GLdouble width

PARAMETERS

Bf Em
 width Ef
       The width, height and depth of the cube.

DESCRIPTION

The glutSolidCube() function draws a solid-shaded cube with side-length given by Bf Sy
 width. Ef
  The vertices of the cube are at (+/- Bf Sy
 width/2, Ef
 +/-  Bf Sy
 width/2, Ef
 +/-  Bf Sy
 width/2), Ef
  so that the cube is centered at the origin.

AUTHORS

Code contributed by Andreas Umbach <marvin [at] dataway.ch>

SEE ALSO

glutWireCube(3)