1 #ifndef __AATRIANGLE_H__
2 #define __AATRIANGLE_H__
7 * An axis aligned triangle (ie. a triangle where 2 sides are parallel to the x-
10 class AATriangle : public Rect
15 * SOUTHEWEST NORTHEAST SOUTHEAST NORTHWEST
16 * * or *---* or * or *---*
21 * Deform flags: (see docs/aatriangletypes.png for details)
28 DIRECTION_MASK = 0x0003,
40 AATriangle(const Vector& v1, const Vector& v2, int newdir)
41 : Rect(v1, v2), dir(newdir)