diff options
-rw-r--r-- | source/blender/blenlib/intern/easing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/easing.c b/source/blender/blenlib/intern/easing.c index 2c7bb0a3abe..c767c62490f 100644 --- a/source/blender/blenlib/intern/easing.c +++ b/source/blender/blenlib/intern/easing.c @@ -207,7 +207,7 @@ float BLI_easing_elastic_ease_in_out(float time, float begin, float change, floa } time -= 1.0f; - return amplitude * powf(2, -10 * time) * sinf((time * duration - s) * (2 * (float)M_PI) / period) * 0.5f + change + begin; + return amplitude * powf(2, -10 * time) * sinf((-time * duration - s) * (2 * (float)M_PI) / period) * 0.5f + change + begin; } float BLI_easing_expo_ease_in(float time, float begin, float change, float duration) |