glutwirecube(3) - Linux man page

Name

glutWireCube - Draw 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)

BSD Epoch BSD