Function lerpV

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

    Type Parameters

    Parameters

    • a: BaseArgType

      Operand vector.

    • b: BaseArgType

      Operand vector.

    • t: BaseArgType

      Interpolation coefficients vector.

    • Optional dst: T

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

    Returns T

    the linear interpolated result.