static Vec2D extents(Vec2D out, AABB a) { out.x = a.width * 0.5; out.y = a.height * 0.5; return out; }