Function imageSphericalToCartesian

  • Converts image (flipped) spherical coordinates to cartesian coordinates in the spheres reference system.

    Parameters

    • spherical: [number, number]

      The spherical coordinates [phi, theta].

    • Optionalresult: Cartesian3

      The cartesian coordinate to write to.

    Returns Cartesian3