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

Public Member Functions | |
| Icosahedron (double size) | |
| ~Icosahedron () | |
| void | Draw () |
| double | GetBoundingRadius () |
| BoundingBox | GetBoundingBox () |
Private Member Functions | |
| Icosahedron () | |
Private Attributes | |
| double | size |
| double | reciprocal_size |
A simple Icosahedron that uses GLUT to draw itself.
Definition at line 17 of file Icosahedron.h.
|
|
Constuctor: Brings the object into a consistent state.
Definition at line 3 of file Icosahedron.cpp. |
|
|
Destuctor. Definition at line 9 of file Icosahedron.cpp. |
|
|
Hide the default constructor. |
|
|
Implementation of the Draw routine. Draws an icosahedron using GLUT. Reimplemented from RawObject. Definition at line 14 of file Icosahedron.cpp. |
|
|
Implementation of the GetBoundingBox routine. Reimplemented from RawObject. Definition at line 31 of file Icosahedron.cpp. |
|
|
Implementation of the GetBoundingRadius routine. Reimplemented from RawObject. Definition at line 26 of file Icosahedron.cpp. |
|
|
1/size. Definition at line 55 of file Icosahedron.h. |
|
|
Size of the icosahedron. Definition at line 52 of file Icosahedron.h. |
1.4.6-NO