Cheevos: Linux support

This commit is contained in:
Connor McLaughlin
2021-02-28 19:01:16 +10:00
parent a032d191c8
commit 10c3506f1a
10 changed files with 694 additions and 6 deletions

View File

@ -177,9 +177,10 @@ ALWAYS_INLINE_RELEASE static T InBack(T t)
}
template<typename T>
ALWAYS_INLINE_RELEASE static T OutBack(T t)
static T OutBack(T t)
{
return 1 + (--t) * t * (2.70158f * t + 1.70158f);
t -= 1;
return 1 + t * t * (2.70158f * t + 1.70158f);
}
template<typename T>
@ -254,4 +255,4 @@ ALWAYS_INLINE_RELEASE static T InOutBounce(T t)
}
}
} // namespace Easing
} // namespace Easing