GLUTWIRECUBE

Section: C Library Functions (3)
Updated: LOCAL
Index Return to Main Contents

BSD mandoc
 

NAME

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@dataway.ch>

 

SEE ALSO

glutSolidCube(3)