renamed Rectangle to Rect because of ยง%$
[supertux.git] / src / math / aatriangle.h
index 4a2d81a..5f8537c 100644 (file)
@@ -1,13 +1,13 @@
 #ifndef __AATRIANGLE_H__
 #define __AATRIANGLE_H__
 
-#include "rectangle.h"
+#include "rect.h"
 
 /**
  * An axis aligned triangle (ie. a triangle where 2 sides are parallel to the x-
  * and y-axis.
  */
-class AATriangle : public Rectangle
+class AATriangle : public Rect
 {
 public:
   /** Directions:
@@ -38,7 +38,7 @@ public:
   {
   }
   AATriangle(const Vector& v1, const Vector& v2, int newdir)
-    : Rectangle(v1, v2), dir(newdir)
+    : Rect(v1, v2), dir(newdir)
   {
   }