1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutSolidCube — Draw a solid cube centered at the origin.
5

LIBRARY

7     OpenGLUT - geometry
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutSolidCube(GLdouble width);
14

PARAMETERS

16      width        The width, height and depth of the cube.
17

DESCRIPTION

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

AUTHORS

24     Code contributed by Andreas Umbach <marvin@dataway.ch>
25

SEE ALSO

27     glutWireCube(3)
28
29
30
31
32                                     Epoch
Impressum