glutSolidCube (3) - Linux Manuals
glutSolidCube: Draw a solid cube centered at the origin.
Command to display glutSolidCube
manual in Linux: $ man 3 glutSolidCube
NAME
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>
Pages related to glutSolidCube