/** checks if 2 rectangle intersect each other */
bool intersects(const Rect& r1, const Rect& r2);
-
+
/** does collision detection between a rectangle and an axis aligned triangle
* Returns true in case of a collision and fills in the hit structure then.
- */
+ */
bool rectangle_aatriangle(Constraints* constraints, const Rect& rect,
const AATriangle& triangle);
}
#endif
-