DEVELOPER'S TOOLBOX NAVIGATION: HUB |
Up |
Download |
Tree
Next: 11.3 glutSolidConeglutWireCone
Up: 11 Geometric Object Rendering
Previous: 11.1 glutSolidSphereglutWireSphere
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: 11.3 glutSolidConeglutWireCone
Up: 11 Geometric Object Rendering
Previous: 11.1 glutSolidSphereglutWireSphere
Mark Kilgard
Fri Feb 23 08:05:02 PST 1996