for example, is EaseIn::create(ScaleTo::create(2.0,2.0),n) equals to EaseOut::create(ScaleTo::create(2.0,2.0),1/n)?
The easing actions manipulates the rate at which the tval changes over the duration of the given action according to an easing curve.
Simply put, ‘In’/‘Out’ denote where the easing occurs. ‘In’ performs easing at the start of the action. Out performs easing at the end of the action.
It’s easier to understand when you see the curves themselves:
Hope this helps!
Hmmm, maybe I misunderstood the question.
The implementations for EaseIn and EaseOut are:
float easeIn(float time, float rate)
{
return powf(time, rate);
}
float easeOut(float time, float rate)
{
return powf(time, 1 / rate);
}
So yes, providing an inverse rate to one is the same as using the other.