Scroll to navigation

GLUTWIRECUBE(3) Library Functions Manual (local) GLUTWIRECUBE(3)

NAME

glutWireCubeDraw a wireframe cube centered at the origin.

LIBRARY

OpenGLUT - geometry

SYNOPSIS

#include <openglut.h>

void
glutWireCube(GLdouble width);

PARAMETERS


width

The width, height and depth of the cube.

DESCRIPTION

The glutWireCube() function draws an axis-aligned wireframe cube with a specified width, height and depth. The vertices of the cube are at (+/-


width/2,

+/-

width/2,

+/-

width/2),

so that the cube is centered at the origin.

AUTHORS

Code contributed by Andreas Umbach <marvin@dataway.ch>

SEE ALSO

glutSolidCube(3)