MathUtils: Add exponential interpolation

Change-Id: I58bb26a6e921cbd1f5532bddcd6a6700ff80b94f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2022-11-28 11:28:49 +01:00
parent 23f53dcbda
commit 12b639970f
3 changed files with 50 additions and 5 deletions

View File

@@ -9,5 +9,6 @@ namespace Utils::MathUtils {
QTCREATOR_UTILS_EXPORT int interpolateLinear(int x, int x1, int x2, int y1, int y2);
QTCREATOR_UTILS_EXPORT int interpolateTangential(int x, int xHalfLife, int y1, int y2);
QTCREATOR_UTILS_EXPORT int interpolateExponential(int x, int xHalfLife, int y1, int y2);
} // namespace Utils::Math
} // namespace Utils::MathUtils