|
Blender
V2.93
|
Go to the source code of this file.
Macros | |
| #define | USE_ELASTIC_BLEND |
Variables | |
| static const float | pow_min = 0.0009765625f |
| static const float | pow_scale = 1.0f / (1.0f - 0.0009765625f) |
| float BLI_easing_back_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | overshoot | ||
| ) |
Definition at line 44 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
| float BLI_easing_back_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | overshoot | ||
| ) |
Definition at line 58 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
| float BLI_easing_back_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | overshoot | ||
| ) |
Definition at line 51 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 87 of file easing.c.
References BLI_easing_bounce_ease_out(), and time.
Referenced by BLI_easing_bounce_ease_in_out(), fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 92 of file easing.c.
References BLI_easing_bounce_ease_in(), BLI_easing_bounce_ease_out(), and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 69 of file easing.c.
References time.
Referenced by BLI_easing_bounce_ease_in(), BLI_easing_bounce_ease_in_out(), fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 101 of file easing.c.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 113 of file easing.c.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 107 of file easing.c.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 122 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 134 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), gpencil_interpolate_seq_easing_calc(), and node_insert_offset_modal().
Definition at line 128 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
| float BLI_easing_elastic_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | amplitude, | ||
| float | period | ||
| ) |
Definition at line 172 of file easing.c.
References asinf, elastic_blend(), fabsf, float(), M_PI, powf, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
| float BLI_easing_elastic_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | amplitude, | ||
| float | period | ||
| ) |
Definition at line 237 of file easing.c.
References asinf, elastic_blend(), fabsf, float(), M_PI, powf, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
| float BLI_easing_elastic_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | amplitude, | ||
| float | period | ||
| ) |
Definition at line 205 of file easing.c.
References asinf, elastic_blend(), fabsf, float(), M_PI, powf, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 281 of file easing.c.
References pow_min, pow_scale, powf, and time.
Referenced by BLI_easing_expo_ease_in_out(), fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 297 of file easing.c.
References BLI_easing_expo_ease_in(), BLI_easing_expo_ease_out(), and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 289 of file easing.c.
References pow_min, pow_scale, powf, and time.
Referenced by BLI_easing_expo_ease_in_out(), fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 308 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate().
Definition at line 313 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 325 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 319 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 334 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 346 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 340 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 355 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 365 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 360 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 374 of file easing.c.
References cosf, M_PI_2, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 384 of file easing.c.
References cosf, M_PI, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 379 of file easing.c.
References M_PI_2, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
|
static |
When the amplitude is less than the change, we need to blend f when we're close to the crossing point (int time), else we get an ugly sharp falloff.
Definition at line 148 of file easing.c.
References fabsf, l, t, and time.
Referenced by BLI_easing_elastic_ease_in(), BLI_easing_elastic_ease_in_out(), and BLI_easing_elastic_ease_out().
|
static |
Definition at line 278 of file easing.c.
Referenced by BLI_easing_expo_ease_in(), and BLI_easing_expo_ease_out().
|
static |
Definition at line 279 of file easing.c.
Referenced by BLI_easing_expo_ease_in(), and BLI_easing_expo_ease_out().