tweenValue<T> function
Implementation
T tweenValue<T>(T begin, T end, double t) {
dynamic beginValue = begin;
dynamic endValue = end;
return (beginValue + (endValue - beginValue) * t) as T;
}
T tweenValue<T>(T begin, T end, double t) {
dynamic beginValue = begin;
dynamic endValue = end;
return (beginValue + (endValue - beginValue) * t) as T;
}