|
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++.
|
Namespaces | |
| namespace | detail |
Functions | |
| float | linear (float t) |
| float | smoothstep (float t) |
| Soft at both ends, 3t^2 - 2t^3. | |
| float | ease_in_quad (float t) |
| float | ease_out_quad (float t) |
| float | ease_in_out_quad (float t) |
| float | ease_in_cubic (float t) |
| float | ease_out_cubic (float t) |
| float | ease_in_out_cubic (float t) |
| float | ease_in_sine (float t) |
| float | ease_out_sine (float t) |
| float | ease_in_out_sine (float t) |
| float | ease_in_expo (float t) |
| float | ease_out_expo (float t) |
| float | ease_in_out_expo (float t) |
| float | ease_in_elastic (float t) |
| float | ease_out_elastic (float t) |
| float | ease_in_bounce (float t) |
| float | ease_out_bounce (float t) |
| float | ease_in_back (float t) |
| float | ease_out_back (float t) |
| float | falloff (float t, asw::Falloff mode) |
| template<typename T , typename Func > | |
| T | ease (const T &a, const T &b, float t, Func func) |
| T asw::easing::ease | ( | const T & | a, |
| const T & | b, | ||
| float | t, | ||
| Func | func ) |
| float asw::easing::ease_in_back | ( | float | t | ) |
Definition at line 146 of file easing.cpp.
| float asw::easing::ease_in_bounce | ( | float | t | ) |
Definition at line 140 of file easing.cpp.
| float asw::easing::ease_in_cubic | ( | float | t | ) |
Definition at line 35 of file easing.cpp.
| float asw::easing::ease_in_elastic | ( | float | t | ) |
Definition at line 97 of file easing.cpp.
| float asw::easing::ease_in_expo | ( | float | t | ) |
Definition at line 69 of file easing.cpp.
| float asw::easing::ease_in_out_cubic | ( | float | t | ) |
Definition at line 46 of file easing.cpp.
| float asw::easing::ease_in_out_expo | ( | float | t | ) |
Definition at line 79 of file easing.cpp.
| float asw::easing::ease_in_out_quad | ( | float | t | ) |
Definition at line 29 of file easing.cpp.
| float asw::easing::ease_in_out_sine | ( | float | t | ) |
Definition at line 63 of file easing.cpp.
| float asw::easing::ease_in_quad | ( | float | t | ) |
Definition at line 19 of file easing.cpp.
| float asw::easing::ease_in_sine | ( | float | t | ) |
Definition at line 53 of file easing.cpp.
| float asw::easing::ease_out_back | ( | float | t | ) |
Definition at line 152 of file easing.cpp.
| float asw::easing::ease_out_bounce | ( | float | t | ) |
Definition at line 119 of file easing.cpp.
| float asw::easing::ease_out_cubic | ( | float | t | ) |
Definition at line 40 of file easing.cpp.
| float asw::easing::ease_out_elastic | ( | float | t | ) |
Definition at line 107 of file easing.cpp.
| float asw::easing::ease_out_expo | ( | float | t | ) |
Definition at line 74 of file easing.cpp.
| float asw::easing::ease_out_quad | ( | float | t | ) |
Definition at line 24 of file easing.cpp.
| float asw::easing::ease_out_sine | ( | float | t | ) |
Definition at line 58 of file easing.cpp.
| float asw::easing::falloff | ( | float | t, |
| asw::Falloff | mode ) |
Get how far a gradient or light has faded at a distance from its centre
| t | Distance from the centre, from 0 at the centre to 1 at the edge |
| mode | How it fades |
Definition at line 160 of file easing.cpp.
| float asw::easing::linear | ( | float | t | ) |
Definition at line 7 of file easing.cpp.
| float asw::easing::smoothstep | ( | float | t | ) |
Soft at both ends, 3t^2 - 2t^3.
Definition at line 13 of file easing.cpp.