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