1UNTITLED LOCAL UNTITLED
2
4 glutWireCube — Draw a wireframe cube centered at the origin.
5
7 OpenGLUT - geometry
8
10 #include <openglut.h>
11
12 void
13 glutWireCube(GLdouble width);
14
16 width The width, height and depth of the cube.
17
19 The glutWireCube() function draws an axis-aligned wireframe cube with a
20 specified width, height and depth. The vertices of the cube are at (+/-
21 width/2, +/- width/2, +/- width/2), so that the cube is centered at
22 the origin.
23
25 Code contributed by Andreas Umbach <marvin@dataway.ch>
26
28 glutSolidCube(3)
29
30
31
32
33 Epoch