Method Lerp
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Lerp(IList<float>, IList<float>, float)
Interpolates two sequences of floats by interpolating corresponding pairs.
protected override IList<float> Lerp(IList<float> outputSampleMin, IList<float> outputSampleMax, float t)
Parameters
Returns
Examples
If the min sequence is (0, 1, 2) and the max sequence is (9, 7, 5), the interpolation at t = 0.1f is (.9f, 1.6f, 2.3f).