Assignments
Assignments
|
#include <triangle.h>
Public Member Functions | |
TriangleIndex (void) | |
TriangleIndex (unsigned int i0, unsigned int i1, unsigned int i2) | |
GLuint & | operator[] (int idx) |
const GLuint & | operator[] (int idx) const |
Private Attributes | |
GLuint | _indices [3] |
A simple class for storing a triplet of triangle indices.
|
inline |
The default constructor
|
inline |
The constructor assigning the vertex indices
|
inline |
This operator returns a reference to the vertex index.
|
inline |
This operator returns a reference to the vertex index.
|
private |
The indices of the triangle vertices