easing-functions
easing-functions copied to clipboard
Easing functions implemented in C++
If you'd like people to use your code, you should specify what license it's available under.
Looking through the code I notice that several implementations contain undefined behaviour, using --t and t several times in the same expressions. The evaluation order is undefined without sequence points,...
-Moved dynamic easing functions to dedicated file -Added regular functions and namespaces -Removed dependency from easing.cpp (now in easing_dynamic.cpp) -Added decimals to whole numbers (1, 2, ... are now 1.0,...
I'm trying your easeInOutCubic: ``` double easeInOutCubic( double t ) { return t < 0.5 ? 4 * t * t * t : 1 + (--t) * (2 *...
Usually easy (In) functions is slower in beginning as you can see here: http://easings.net/ru#easeInSine But your Sine functions is swapped:  Your function: sin( 1.5707963 * t ); Tween.js (this...