math docs
    Preparing search index...

    Function lerp

    • Linearly interpolates between two Polar coordinates, taking the shortest angular path for theta.

      Parameters

      • out: polar.Polar

        the receiving Polar

      • a: readonly [number, number]

        the first operand

      • b: readonly [number, number]

        the second operand

      • t: number

        interpolation factor in [0, 1]

      Returns polar.Polar

      out