Interface IInterpolator<T>
- Namespace
- SharpConsoleUI.Animation
- Assembly
- SharpConsoleUI.dll
Interpolates between two values of type T based on a normalized progress [0,1].
public interface IInterpolator<T>
Type Parameters
T
- Extension Methods
Methods
Interpolate(T, T, double)
Computes the interpolated value between from and to.
T Interpolate(T from, T to, double t)
Parameters
fromTtoTtdouble
Returns
- T