#include <tritype.h>
This may seem like overkill, but it makes type checking easier (as we are guaranteed to have multiples of three now). This also allows creation of hardcoded arrays easier than using a structure.
Public Member Functions | |
tritype () | |
Empty constructor. | |
tritype (int a, int b, int c) | |
Constructor - used throughout code. | |
Public Attributes | |
int | t [3] |
The three points of the triangle - correct winding please. |
|
Empty constructor.
|