lerp

Linearly interpolates the values from fromTo by amount.

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

Meta