glutSolidCube(3GLUT) GLUT glutSolidCube(3GLUT)NAME
glutSolidCube, glutWireCube - render a solid or wireframe cube respec‐
tively.
SYNTAX
#include <GLUT/glut.h>
void glutSolidCube(GLdouble size);
void glutWireCube(GLdouble size);
ARGUMENTS
size Length of each edge.
DESCRIPTIONglutSolidCube and glutWireCube render a solid or wireframe cube respec‐
tively. The cube is centered at the modeling coordinates origin with
sides of length size.
SEE ALSO
glutSolidSphere, glutSolidCone, glutSolidTorus, glutSolidDodecahedron,
glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron, glut‐
SolidTeapot
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutSolidCube(3GLUT)