Blender
V3.3
|
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 17 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 31 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 24 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 60 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 65 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 42 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 74 of file easing.c.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 86 of file easing.c.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 80 of file easing.c.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 95 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 107 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), gpencil_interpolate_seq_easing_calc(), and blender::ed::space_node::node_insert_offset_modal().
Definition at line 101 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 145 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 210 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 178 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 254 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 270 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 262 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 281 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate().
Definition at line 286 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 298 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 292 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 307 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 313 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 328 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 338 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 333 of file easing.c.
References time.
Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().
Definition at line 347 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 357 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 352 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 121 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 251 of file easing.c.
Referenced by BLI_easing_expo_ease_in(), and BLI_easing_expo_ease_out().
|
static |
Definition at line 252 of file easing.c.
Referenced by BLI_easing_expo_ease_in(), and BLI_easing_expo_ease_out().