]> git.localhorst.tv Git - orbi.git/blobdiff - src/world/AABB.h
some cleanup
[orbi.git] / src / world / AABB.h
index 20580caaded42e57f994432de8890820cbcc9b2c..9a2d5ebbef4bbe4a3e7a9214d3c9ab9765805163 100644 (file)
@@ -6,6 +6,8 @@
 
 namespace orbi {
 
+class Collision;
+
 class AABB {
 
 public:
@@ -30,7 +32,7 @@ public:
        void Move(Vector<float> delta) { lt += delta; rb += delta; }
        void Resize(Vector<float> size) { *this = AABB(lt, size); }
 
-       bool Intersects(const AABB &other, Vector<float> &p, Vector<float> &n, Vector<float> &d) const;
+       bool Intersects(const AABB &other, Collision &) const;
 
 private:
        Vector<float> lt;