• Linear interpolation between a and b based on t, where t is a number between 0.0 and 1.0.

    The result will be equal to a when t is 0.0, equal to b when t is 1.0, and halfway between a and b when t is 0.5

    Parameters

    • a: number

      the start value - a floating point number

    • b: number

      the end value - a floating point number

    • t: number

      a floating point number in the interval [0.0, 1.0]

    Returns number

    a value between a and b

Generated using TypeDoc