cf_back_out¶
Category: math
GitHub: cute_math.h
Returns the back-out ease of a float from 0.0f to 1.0f.
float cf_back_out(float x) { float f = (1.0f - x); return 1.0f - (x * x * x - x * CF_SINF(f * CF_PI)); }
Remarks¶
Here is a great link to visualize each easing function.