glutSolidCube(3)

glutSolidCube3

Render a solid or wireframe cube respectively.

Usage


    

    
        

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

Arguments

size

Length of each edge.

Overview

glutSolidCube and glutWireCube render a solid or wireframe cube respectively. The cube is centered at the modeling coordinates origin with sides of length size.

Author

Mark J. Kilgard ([email protected])

From freeglut 3.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.