Converts a Vec2 (x, z) in the horizontal XZ plane to spherical coordinates. The point is treated as lying on the equator (phi = π/2, y = 0).
the receiving Spherical
the source Vec2 interpreted as (x, z)
out
Converts a Vec2 (x, z) in the horizontal XZ plane to spherical coordinates. The point is treated as lying on the equator (phi = π/2, y = 0).