glutWireCube man page

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)

 

Referenced By

glutSolidCube(3).