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: 11.3 glutSolidConeglutWireCone Up: 11 Geometric Object Rendering Previous: 11.1 glutSolidSphereglutWireSphere