|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Easing functions for animations. More...
#include <algorithm>#include <concepts>#include <functional>Go to the source code of this file.
Namespaces | |
| namespace | asw |
| namespace | asw::easing |
Functions | |
| float | asw::easing::linear (float t) |
| float | asw::easing::ease_in_quad (float t) |
| float | asw::easing::ease_out_quad (float t) |
| float | asw::easing::ease_in_out_quad (float t) |
| float | asw::easing::ease_in_cubic (float t) |
| float | asw::easing::ease_out_cubic (float t) |
| float | asw::easing::ease_in_out_cubic (float t) |
| float | asw::easing::ease_in_sine (float t) |
| float | asw::easing::ease_out_sine (float t) |
| float | asw::easing::ease_in_out_sine (float t) |
| float | asw::easing::ease_in_expo (float t) |
| float | asw::easing::ease_out_expo (float t) |
| float | asw::easing::ease_in_out_expo (float t) |
| float | asw::easing::ease_in_elastic (float t) |
| float | asw::easing::ease_out_elastic (float t) |
| float | asw::easing::ease_in_bounce (float t) |
| float | asw::easing::ease_out_bounce (float t) |
| float | asw::easing::ease_in_back (float t) |
| float | asw::easing::ease_out_back (float t) |
| template<typename T , typename Func > | |
| T | asw::easing::ease (const T &a, const T &b, float t, Func func) |
Easing functions for animations.
Definition in file easing.h.