Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

tritype Class Reference

#include <tritype.h>

List of all members.


Detailed Description

Very tiny class to be a triangle.

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.

Author:
Stephen Bridges


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.


Constructor & Destructor Documentation

tritype::tritype  ) 
 

Empty constructor.

Todo:
Do something with tritype constructor


The documentation for this class was generated from the following files:
Generated on Mon Jan 3 15:14:20 2005 for Graviton by  doxygen 1.3.9.1