interpolate<T> function
Implementation
T interpolate<T>(dynamic a, dynamic b, double alpha) {
return (a * (1 - alpha) + b * alpha) as T;
}
T interpolate<T>(dynamic a, dynamic b, double alpha) {
return (a * (1 - alpha) + b * alpha) as T;
}