glutSolidCube

Langue: en

Version: 165300 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)


BSD mandoc

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@dataway.ch>

SEE ALSO

glutWireCube(3)