SysTutorials

Linux Manual Pages › Section 3

glutwirecube(3)

glutWireCube – Draw a wireframe cube centered at the origin.

Library

OpenGLUT – geometry

Synopsis

In openglut.h Ft void Fn glutWireCube GLdouble width

Parameters

Bf Em
 width Ef
       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 (+/- Bf Sy
 width/2, Ef
 +/-  Bf Sy
 width/2, Ef
 +/-  Bf Sy
 width/2), Ef
  so that the cube is centered at the origin.

Authors

Code contributed by Andreas Umbach <marvin [at] dataway.ch>

See Also

glutSolidCube(3)