rescale :: (r: Rect, old_w: s32, old_h: s32) -> Rect
rescale :: (v: Vector2, old_w: s32, old_h: s32) -> Vector2