Ease typedef
generally from baseValue
to baseValue
+ change
,
used for transition, interpolation.
Every function follow the same signature :
ratio
is the progression (0.0 .. 1.0).
change
is the "amplitute" of the variation for the final variable,
or the difference between baseValue
and the final value.
baseValue
the initiale value of the variable
return the intermediate value.
typedef num Ease(double ratio, num change, num baseValue);