• Performs linear interpolation on two vectors. Given vectors a and b and interpolation coefficient t, returns a + t * (b - a).

    Type Parameters

    Parameters

    • a: BaseArgType

      Operand vector.

    • b: BaseArgType

      Operand vector.

    • t: number

      Interpolation coefficient.

    • Optional dst: T

      vector to hold result. If not passed in a new one is created.

    Returns T

    The linear interpolated result.