static bool rectToRect(AABB a, AABB b) => a.right >= b.left && a.left <= b.right && a.bottom >= b.top && a.top <= b.bottom;