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