|
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 <cmath>Go to the source code of this file.
Namespaces | |
| namespace | asw |
| namespace | asw::easing |
Typedefs | |
| using | asw::easing::EaseFunc = float (*)(float) |
| Type alias for easing functions. | |
Functions | |
| float | asw::easing::linear (float t) |
| float | asw::easing::easeInQuad (float t) |
| float | asw::easing::easeOutQuad (float t) |
| float | asw::easing::easeInOutQuad (float t) |
| float | asw::easing::easeInCubic (float t) |
| float | asw::easing::easeOutCubic (float t) |
| float | asw::easing::easeInOutCubic (float t) |
| float | asw::easing::easeInSine (float t) |
| float | asw::easing::easeOutSine (float t) |
| float | asw::easing::easeInOutSine (float t) |
| float | asw::easing::easeInExpo (float t) |
| float | asw::easing::easeOutExpo (float t) |
| float | asw::easing::easeInOutExpo (float t) |
| float | asw::easing::easeInElastic (float t) |
| float | asw::easing::easeOutElastic (float t) |
| float | asw::easing::easeInBounce (float t) |
| float | asw::easing::easeOutBounce (float t) |
| float | asw::easing::easeInBack (float t) |
| float | asw::easing::easeOutBack (float t) |
| template<typename T > | |
| T | asw::easing::ease (const T &a, const T &b, float t, EaseFunc func) |
Easing functions for animations.
Definition in file easing.h.