|
Blender V4.5
|
Go to the source code of this file.
Macros | |
| #define | USE_ELASTIC_BLEND |
Functions | |
| float | BLI_easing_back_ease_in (float time, float begin, float change, float duration, float overshoot) |
| float | BLI_easing_back_ease_out (float time, float begin, float change, float duration, float overshoot) |
| float | BLI_easing_back_ease_in_out (float time, float begin, float change, float duration, float overshoot) |
| float | BLI_easing_bounce_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_bounce_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_bounce_ease_in_out (float time, float begin, float change, float duration) |
| float | BLI_easing_circ_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_circ_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_circ_ease_in_out (float time, float begin, float change, float duration) |
| float | BLI_easing_cubic_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_cubic_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_cubic_ease_in_out (float time, float begin, float change, float duration) |
| static float | elastic_blend (float time, float change, float duration, float amplitude, float s, float f) |
| float | BLI_easing_elastic_ease_in (float time, float begin, float change, float duration, float amplitude, float period) |
| float | BLI_easing_elastic_ease_out (float time, float begin, float change, float duration, float amplitude, float period) |
| float | BLI_easing_elastic_ease_in_out (float time, float begin, float change, float duration, float amplitude, float period) |
| float | BLI_easing_expo_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_expo_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_expo_ease_in_out (float time, float begin, float change, float duration) |
| float | BLI_easing_linear_ease (float time, float begin, float change, float duration) |
| float | BLI_easing_quad_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_quad_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_quad_ease_in_out (float time, float begin, float change, float duration) |
| float | BLI_easing_quart_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_quart_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_quart_ease_in_out (float time, float begin, float change, float duration) |
| float | BLI_easing_quint_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_quint_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_quint_ease_in_out (float time, float begin, float change, float duration) |
| float | BLI_easing_sine_ease_in (float time, float begin, float change, float duration) |
| float | BLI_easing_sine_ease_out (float time, float begin, float change, float duration) |
| float | BLI_easing_sine_ease_in_out (float time, float begin, float change, float duration) |
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 18 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_back_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | overshoot ) |
Definition at line 32 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_back_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | overshoot ) |
Definition at line 25 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_bounce_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 61 of file easing.cc.
References begin(), BLI_easing_bounce_ease_out(), and time.
Referenced by BLI_easing_bounce_ease_in_out(), fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_bounce_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 66 of file easing.cc.
References begin(), BLI_easing_bounce_ease_in(), BLI_easing_bounce_ease_out(), and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_bounce_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 43 of file easing.cc.
Referenced by BLI_easing_bounce_ease_in(), BLI_easing_bounce_ease_in_out(), fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_circ_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 75 of file easing.cc.
References begin(), sqrtf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_circ_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 87 of file easing.cc.
References begin(), sqrtf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_circ_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 81 of file easing.cc.
References begin(), sqrtf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_cubic_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 96 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_cubic_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
| float BLI_easing_cubic_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 102 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_elastic_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | amplitude, | ||
| float | period ) |
Definition at line 146 of file easing.cc.
References asinf, begin(), elastic_blend(), fabsf, M_PI, powf, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_elastic_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | amplitude, | ||
| float | period ) |
Definition at line 211 of file easing.cc.
References asinf, begin(), elastic_blend(), fabsf, M_PI, powf, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_elastic_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration, | ||
| float | amplitude, | ||
| float | period ) |
Definition at line 179 of file easing.cc.
References asinf, begin(), elastic_blend(), fabsf, M_PI, powf, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_expo_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 255 of file easing.cc.
References begin(), pow_min, pow_scale, powf, and time.
Referenced by BLI_easing_expo_ease_in_out(), fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_expo_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 271 of file easing.cc.
References begin(), BLI_easing_expo_ease_in(), BLI_easing_expo_ease_out(), and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_expo_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 263 of file easing.cc.
References begin(), pow_min, pow_scale, powf, and time.
Referenced by BLI_easing_expo_ease_in_out(), fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_linear_ease | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 282 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate().
| float BLI_easing_quad_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 287 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quad_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 299 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quad_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 293 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quart_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 308 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quart_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 320 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quart_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 314 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quint_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 329 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quint_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 339 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_quint_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 334 of file easing.cc.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_sine_ease_in | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 348 of file easing.cc.
References begin(), cosf, M_PI_2, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_sine_ease_in_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 358 of file easing.cc.
References begin(), cosf, M_PI, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc().
| float BLI_easing_sine_ease_out | ( | float | time, |
| float | begin, | ||
| float | change, | ||
| float | duration ) |
Definition at line 353 of file easing.cc.
References begin(), M_PI_2, sinf, and time.
Referenced by fcurve_eval_keyframes_interpolate(), and blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_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 122 of file easing.cc.
References fabsf, l, 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 252 of file easing.cc.
Referenced by BLI_easing_expo_ease_in(), and BLI_easing_expo_ease_out().
|
static |
Definition at line 253 of file easing.cc.
Referenced by BLI_easing_expo_ease_in(), and BLI_easing_expo_ease_out().