You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a mirror of easeIn, s(t) = tr, easeOut should not be s(t) = t1/r.
Instead it should be s(t) = 1 - (1 - t)r. This resultant behaviour is more realistic to the desired one.
That say, the function tweenfunc::easeOut should be corrected as:
floateaseOut(float time, float rate)
{
return (1 - powf(1 - time, rate));
}
The text was updated successfully, but these errors were encountered:
Please study this: http://www.cnblogs.com/cocos2d-x/archive/2012/03/15/2398516.html
As a mirror of easeIn, s(t) = tr, easeOut should not be s(t) = t1/r.
Instead it should be s(t) = 1 - (1 - t)r. This resultant behaviour is more realistic to the desired one.
That say, the function
tweenfunc::easeOut
should be corrected as:The text was updated successfully, but these errors were encountered: