glutSolidCube – Draw a solid cube centered at the origin.
Library
OpenGLUT – geometry
Synopsis
In openglut.h Ft void Fn glutSolidCube GLdouble width
Parameters
Bf Em
width Ef
The width, height and depth of the cube.
Description
The glutSolidCube() function draws a solid-shaded cube with side-length given by Bf Sy
width. Ef
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
glutWireCube(3)