GLUTSOLIDCUBE

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

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@dataway.ch>

 

SEE ALSO

glutWireCube(3)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
AUTHORS
SEE ALSO