---
name: "glutSolidCube"
section: "3xglut"
platform: "linux"
package: "glut-doc"
version: "3.7-14"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/glutSolidCube/3xglut"
---

# glutSolidCube(3xglut)

render a solid or wireframe cube respectively.

## NAME

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

## SYNTAX

```

```

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

## ARGUMENTS

- *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, glutSolidDodecahedron, glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron, glutSolidTeapot

## AUTHOR

Mark J. Kilgard (mjk@nvidia.com)
