interpolateValue<T> function
Implementation
T interpolateValue<T>(dynamic a, dynamic b, double alpha) {
// Useful in mobject to not always use Mobject.interpolate
return (a * (1 - alpha) + b * alpha) as T;
}
T interpolateValue<T>(dynamic a, dynamic b, double alpha) {
// Useful in mobject to not always use Mobject.interpolate
return (a * (1 - alpha) + b * alpha) as T;
}