#include <Cube.h>
Inheritance diagram for Cube:

Public Member Functions | |
| Cube (double size) | |
| ~Cube () | |
| void | Draw () |
| double | GetBoundingRadius () |
| BoundingBox | GetBoundingBox () |
Private Member Functions | |
| Cube () | |
Private Attributes | |
| double | size |
A simple cube that uses GLUT to draw itself.
Definition at line 17 of file Cube.h.
|
|
Constuctor: Brings the object into a consistent state and initializes its size.
|
|
|
Destructor. |
|
|
Hide the default constructor. |
|
|
Implementation of the Draw routine. Draws a cube using GLUT. Reimplemented from RawObject. |
|
|
Implementation of the GetBoundingBox routine. Reimplemented from RawObject. |
|
|
Implementation of the GetBoundingRadius routine. Reimplemented from RawObject. |
|
|
Size of the cube. |
1.4.6-NO