#include <Cube.h>
Inheritance diagram for Cube2:
Public Member Functions | |
Cube2 (float size) | |
~Cube2 () | |
void | Construct (float size) |
Private Member Functions | |
Cube2 () | |
Private Attributes | |
double | size |
float * | v_data |
GLuint * | indices |
A cube that uses vertex arrays.
Definition at line 60 of file Cube.h.
|
Constuctor: Brings the object into a consistent state and sets the size of the cube.
|
|
Destructor. |
|
Hide the default constructor. |
|
Constructs the vertex, index and normal arrays.
|
|
Pointer to the index data. |
|
Size of the cube. |
|
Pointer to the vertex data. |