bool containsBounds(AABB b) { return left <= b.left && top <= b.top && b.right <= right && b.bottom <= bottom; }