namespace orbi {
-bool AABB::Intersects(const AABB &other, Collision &coll) const {
+bool AABB::Intersects(const AABB &other) const {
if (Bottom() < other.Top()) return false;
if (other.Bottom() < Top()) return false;
if (Right() < other.Left()) return false;
if (other.Right() < Left()) return false;
+ return true;
+}
+
+bool AABB::Intersects(const AABB &other, Collision &coll) const {
+ if (!Intersects(other)) return false;
AABB diff;
diff.lt = max(lt, other.lt);