Function cartesianToImageSpherical

  • Converts a cartesian coordinate in the spheres reference system to spherical coordinates in the flipped image reference system.

    Parameters

    • cartesian: Cartesian3

    Returns [number, number]

    The spherical coordinates [phi, theta].