Open
Description
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:
float easeOut(float time, float rate)
{
return (1 - powf(1 - time, rate));
}