///////////////////////////////////////////////////////////////////////////////
// Side3D
// - Basic triangular face for a 3D object
///////////////////////////////////////////////////////////////////////////////
class Side3
{
public:
int points[3]; // Index to points defining triangle
fVector2D texture[3]; // Texture points
fVector3D normal; // Side normal
inline Side3() ; // Notice there is no "default" value of zero
// Constructor -- Set point indices, texture points, compute surface normal
inline Side3(int p1, int p2, int p3,const fVector3D *pointList,
const fVector2D &t1,const fVector2D &t2,const fVector2D &t3);
// Constructor -- Set point indices, leave textures, compute surface normal
inline Side3(int p1, int p2, int p3,const fVector3D *pointList);
// Constructor -- Calculate surface normal (assume clockwise vertex order)
inline calcNormal(const fVector3D *pointList);
};