lerp

Linearly interpolates values from and to by amount.

  1. T lerp(T from, T to, U amount)
    T
    lerp
    (
    T
    U
    )
    (
    const T from
    ,
    const T to
    ,
    const U amount
    )
  2. T lerp(T[2] fromTo, U amount)

Meta