The library contains the following easing functions with in, out, and in-out modes:
- sine
- quad
- cubic
- quart
- quint
- expo
- circ
- back
- elastic
- bounce
You can call a generic ease function:
const auto newValue = easing::ease(easing::Func::sine, easing::Mode::easeIn, value);
Or you can call the easing functions directly:
const auto newValue = easing::sineIn(value);
Easing libray's codebase is released to the Public Domain