• Lerps between a and b via t

    Parameters

    • a: number

      starting value

    • b: number

      ending value

    • t: number

      value where 0 = a and 1 = b

    Returns number

    a + (b - a) * t