Commit 2518d6aa authored by SilentMike's avatar SilentMike

Merge pull request #386 from lukaspj/Elastic-Ease-Fix

Changed mASin to mSin in mEaseOutElastic
parents 66775714 c0e4f457
......@@ -278,7 +278,7 @@ inline F32 mEaseOutElastic(F32 t, F32 b, F32 c, F32 d, F32 a, F32 p) {
F32 s;
if (a < mFabs(c)) { a=c; s=p/4; }
else s = p/(2*M_PI_F) * mAsin (c/a);
return a*mPow(2,-10*t) * mAsin( (t*d-s)*(2*M_PI_F)/p ) + c + b;
return a*mPow(2,-10*t) * mSin( (t*d-s)*(2*M_PI_F)/p ) + c + b;
};
inline F32 mEaseInOutElastic(F32 t, F32 b, F32 c, F32 d, F32 a, F32 p) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment