glutSolidCube, glutWireCube

Nom

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

Prototype

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

Paramètre

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.

Voir aussi

glutSolidSphere, glutSolidCone, glutSolidTorus, glutSolidDodecahedron, glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron, glutSolidTeapot.