Blender  V3.3
BLI_easing.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2001 Robert Penner. All rights reserved. */
3 
4 #pragma once
5 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
15  float time, float begin, float change, float duration, float overshoot);
17  float time, float begin, float change, float duration, float overshoot);
19  float time, float begin, float change, float duration, float overshoot);
20 float BLI_easing_bounce_ease_out(float time, float begin, float change, float duration);
21 float BLI_easing_bounce_ease_in(float time, float begin, float change, float duration);
22 float BLI_easing_bounce_ease_in_out(float time, float begin, float change, float duration);
23 float BLI_easing_circ_ease_in(float time, float begin, float change, float duration);
24 float BLI_easing_circ_ease_out(float time, float begin, float change, float duration);
25 float BLI_easing_circ_ease_in_out(float time, float begin, float change, float duration);
26 float BLI_easing_cubic_ease_in(float time, float begin, float change, float duration);
27 float BLI_easing_cubic_ease_out(float time, float begin, float change, float duration);
28 float BLI_easing_cubic_ease_in_out(float time, float begin, float change, float duration);
30  float time, float begin, float change, float duration, float amplitude, float period);
32  float time, float begin, float change, float duration, float amplitude, float period);
34  float time, float begin, float change, float duration, float amplitude, float period);
35 float BLI_easing_expo_ease_in(float time, float begin, float change, float duration);
36 float BLI_easing_expo_ease_out(float time, float begin, float change, float duration);
37 float BLI_easing_expo_ease_in_out(float time, float begin, float change, float duration);
38 float BLI_easing_linear_ease(float time, float begin, float change, float duration);
39 float BLI_easing_quad_ease_in(float time, float begin, float change, float duration);
40 float BLI_easing_quad_ease_out(float time, float begin, float change, float duration);
41 float BLI_easing_quad_ease_in_out(float time, float begin, float change, float duration);
42 float BLI_easing_quart_ease_in(float time, float begin, float change, float duration);
43 float BLI_easing_quart_ease_out(float time, float begin, float change, float duration);
44 float BLI_easing_quart_ease_in_out(float time, float begin, float change, float duration);
45 float BLI_easing_quint_ease_in(float time, float begin, float change, float duration);
46 float BLI_easing_quint_ease_out(float time, float begin, float change, float duration);
47 float BLI_easing_quint_ease_in_out(float time, float begin, float change, float duration);
48 float BLI_easing_sine_ease_in(float time, float begin, float change, float duration);
49 float BLI_easing_sine_ease_out(float time, float begin, float change, float duration);
50 float BLI_easing_sine_ease_in_out(float time, float begin, float change, float duration);
51 
52 #ifdef __cplusplus
53 }
54 #endif
float BLI_easing_sine_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:347
float BLI_easing_back_ease_out(float time, float begin, float change, float duration, float overshoot)
Definition: easing.c:24
float BLI_easing_linear_ease(float time, float begin, float change, float duration)
Definition: easing.c:281
float BLI_easing_bounce_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:65
float BLI_easing_quint_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:333
float BLI_easing_quart_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:319
float BLI_easing_circ_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:86
float BLI_easing_quart_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:313
float BLI_easing_bounce_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:60
float BLI_easing_circ_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:74
float BLI_easing_expo_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:254
float BLI_easing_expo_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:262
float BLI_easing_elastic_ease_in(float time, float begin, float change, float duration, float amplitude, float period)
Definition: easing.c:145
float BLI_easing_quad_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:298
float BLI_easing_elastic_ease_out(float time, float begin, float change, float duration, float amplitude, float period)
Definition: easing.c:178
float BLI_easing_cubic_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:95
float BLI_easing_elastic_ease_in_out(float time, float begin, float change, float duration, float amplitude, float period)
Definition: easing.c:210
float BLI_easing_quint_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:328
float BLI_easing_sine_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:352
float BLI_easing_bounce_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:42
float BLI_easing_quad_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:286
float BLI_easing_quad_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:292
float BLI_easing_circ_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:80
float BLI_easing_cubic_ease_out(float time, float begin, float change, float duration)
Definition: easing.c:101
float BLI_easing_back_ease_in(float time, float begin, float change, float duration, float overshoot)
Definition: easing.c:17
float BLI_easing_quint_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:338
float BLI_easing_expo_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:270
float BLI_easing_quart_ease_in(float time, float begin, float change, float duration)
Definition: easing.c:307
float BLI_easing_back_ease_in_out(float time, float begin, float change, float duration, float overshoot)
Definition: easing.c:31
float BLI_easing_cubic_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:107
float BLI_easing_sine_ease_in_out(float time, float begin, float change, float duration)
Definition: easing.c:357
double time