next up previous contents index
Next: 11.3 glutSolidConeglutWireCone Up: 11 Geometric Object Rendering Previous: 11.1 glutSolidSphereglutWireSphere

11.2 glutSolidCube, glutWireCube

  glutSolidCube and   glutWireCube render a solid or wireframe cube respectively.

Usage

void glutSolidCube(GLdouble size);
void glutWireCube(GLdouble size);

Description

glutSolidCube and glutWireCube render a solid or wireframe cube respectively. The cube is centered at the modeling coordinates origin with sides of length size.



next up previous contents index
Next: 11.3 glutSolidConeglutWireCone Up: 11 Geometric Object Rendering Previous: 11.1 glutSolidSphereglutWireSphere



Mark Kilgard
Fri Feb 23 08:05:02 PST 1996