Name

glutSolidCube,  glutWireCube - render a solid or wireframe
cube respectively.

Python Specification

glutSolidCube
	glutSolidCube(size) -> None
glutWireCube
	glutWireCube(size) -> None

C Specification

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

Parameters

size      Length of each edge.

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.

See Also

glutSolidSphere, glutSolidCone, glutSolidTorus, glutSolid-
Dodecahedron,  glutSolidOctahedron,  glutSolidTetrahedron,
glutSolidIcosahedron, glutSolidTeapot

Author

Mark J. Kilgard (mjk@nvidia.com)

:: Documentation :: References :: GLUT ::
:: Index (n/a) ::