|
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++.
|
Typedefs | |
| using | EaseFunc = float (*)(float) |
| Type alias for easing functions. | |
Functions | |
| float | linear (float t) |
| float | easeInQuad (float t) |
| float | easeOutQuad (float t) |
| float | easeInOutQuad (float t) |
| float | easeInCubic (float t) |
| float | easeOutCubic (float t) |
| float | easeInOutCubic (float t) |
| float | easeInSine (float t) |
| float | easeOutSine (float t) |
| float | easeInOutSine (float t) |
| float | easeInExpo (float t) |
| float | easeOutExpo (float t) |
| float | easeInOutExpo (float t) |
| float | easeInElastic (float t) |
| float | easeOutElastic (float t) |
| float | easeInBounce (float t) |
| float | easeOutBounce (float t) |
| float | easeInBack (float t) |
| float | easeOutBack (float t) |
| template<typename T > | |
| T | ease (const T &a, const T &b, float t, EaseFunc func) |
| using asw::easing::EaseFunc = float (*)(float) |
| T asw::easing::ease | ( | const T & | a, |
| const T & | b, | ||
| float | t, | ||
| EaseFunc | func ) |
| float asw::easing::easeInBack | ( | float | t | ) |
Definition at line 120 of file easing.cpp.
| float asw::easing::easeInBounce | ( | float | t | ) |
Definition at line 115 of file easing.cpp.
| float asw::easing::easeInCubic | ( | float | t | ) |
Definition at line 22 of file easing.cpp.
| float asw::easing::easeInElastic | ( | float | t | ) |
Definition at line 75 of file easing.cpp.
| float asw::easing::easeInExpo | ( | float | t | ) |
Definition at line 50 of file easing.cpp.
| float asw::easing::easeInOutCubic | ( | float | t | ) |
Definition at line 31 of file easing.cpp.
| float asw::easing::easeInOutExpo | ( | float | t | ) |
Definition at line 58 of file easing.cpp.
| float asw::easing::easeInOutQuad | ( | float | t | ) |
Definition at line 17 of file easing.cpp.
| float asw::easing::easeInOutSine | ( | float | t | ) |
Definition at line 45 of file easing.cpp.
| float asw::easing::easeInQuad | ( | float | t | ) |
Definition at line 9 of file easing.cpp.
| float asw::easing::easeInSine | ( | float | t | ) |
Definition at line 37 of file easing.cpp.
| float asw::easing::easeOutBack | ( | float | t | ) |
Definition at line 125 of file easing.cpp.
| float asw::easing::easeOutBounce | ( | float | t | ) |
Definition at line 95 of file easing.cpp.
| float asw::easing::easeOutCubic | ( | float | t | ) |
Definition at line 26 of file easing.cpp.
| float asw::easing::easeOutElastic | ( | float | t | ) |
Definition at line 84 of file easing.cpp.
| float asw::easing::easeOutExpo | ( | float | t | ) |
Definition at line 54 of file easing.cpp.
| float asw::easing::easeOutQuad | ( | float | t | ) |
Definition at line 13 of file easing.cpp.
| float asw::easing::easeOutSine | ( | float | t | ) |
Definition at line 41 of file easing.cpp.
| float asw::easing::linear | ( | float | t | ) |
Definition at line 4 of file easing.cpp.