From 75233f9579341f90077cf5ec6f956978c7fda3c8 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 17 Jan 2024 15:31:44 +0800 Subject: [PATCH] ... --- src/easing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/easing.cpp b/src/easing.cpp index 1c52136f..14e4fb92 100644 --- a/src/easing.cpp +++ b/src/easing.cpp @@ -93,7 +93,7 @@ static double easeOutExpo( double x ) { return x == 1 ? 1 : 1 - std::pow( 2, -10 * x ); } -inline double easeInOutExpo( double x ) { +static double easeInOutExpo( double x ) { if( x == 0 ) { return 0; } else if( x == 1 ) { @@ -165,7 +165,7 @@ static double easeOutElastic( double x ) { } } -inline double easeInOutElastic( double x ) { +static double easeInOutElastic( double x ) { const double c5 = (2 * kPi) / 4.5; if( x == 0 ) { return 0;