|
| static float | QuadIn (float t, const float b, const float c, const float d) |
| |
| static float | QuadOut (float t, const float b, const float c, const float d) |
| |
| static float | QuadInOut (float t, const float b, const float c, const float d) |
| |
| static float | CubicIn (float t, const float b, const float c, const float d) |
| |
| static float | CubicOut (float t, const float b, const float c, const float d) |
| |
| static float | CubicInOut (float t, const float b, const float c, const float d) |
| |
| static float | QuartIn (float t, const float b, const float c, const float d) |
| |
| static float | QuartOut (float t, const float b, const float c, const float d) |
| |
| static float | QuartInOut (float t, const float b, const float c, const float d) |
| |
| static float | QuintIn (float t, const float b, const float c, const float d) |
| |
| static float | QuintOut (float t, const float b, const float c, const float d) |
| |
| static float | QuintInOut (float t, const float b, const float c, const float d) |
| |
Generic easing functions.
In each function, the parameters are:
- Parameters
-
| t | Current time in seconds, as a float between 0 and d (inclusive). |
| d | Total duration of the ease, in seconds. Must be strictly positive. |
| b | Baseline value (at t = 0). |
| c | Delta from baseline value to reach the target value (at t = d). I.e., target = b + c. |
Each function outputs the eased value between 'b' and 'b+c' at time 't'.
Definition at line 60 of file Ease.h.