namespace orbi {
+class Collision;
+
class AABB {
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;