1 #ifndef __AATRIANGLE_H__
2 #define __AATRIANGLE_H__
10 * An axis aligned triangle (ie. a triangle where 2 sides are parallel to the x-
13 class AATriangle : public Rectangle
18 * SOUTHEWEST NORTHEAST SOUTHEAST NORTHWEST
19 * * or *---* or * or *---*
24 * Deform flags: (see docs/aatriangletypes.png for details)
31 DIRECTION_MASK = 0x0003,
43 AATriangle(const Vector& v1, const Vector& v2, int newdir)
44 : Rectangle(v1, v2), dir(newdir)