Function lerp

  • Linear interpolation!

    Parameters

    • low: number

      The low end of the value.

    • high: number

      The high end of the value.

    • mod: number

      The amount of interpolation between the low and high end.

    Returns number

    The interpolated value.