math docs
    Preparing search index...

    Function lerp

    • Linearly interpolates between two Spherical coordinates taking the shortest angular path for theta and phi.

      Parameters

      • out: spherical.Spherical

        the receiving Spherical

      • a: readonly [number, number, number]

        the first operand

      • b: readonly [number, number, number]

        the second operand

      • t: number

        interpolation factor in [0, 1]

      Returns spherical.Spherical

      out