X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FAABB.h;h=a0e3436194fd57dbee28b06682babc553ef6edd2;hb=03b142b877e19a2355e1a79e279e024922d44655;hp=9a2d5ebbef4bbe4a3e7a9214d3c9ab9765805163;hpb=a8523bee4fc349a800f5f6d67b470c3a801beaa9;p=orbi.git diff --git a/src/world/AABB.h b/src/world/AABB.h index 9a2d5eb..a0e3436 100644 --- a/src/world/AABB.h +++ b/src/world/AABB.h @@ -32,6 +32,7 @@ public: void Move(Vector delta) { lt += delta; rb += delta; } void Resize(Vector size) { *this = AABB(lt, size); } + bool Intersects(const AABB &other) const; bool Intersects(const AABB &other, Collision &) const; private: