1 /* 2 * Copyright 2009, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Alexandre Deckner <alex@zappotek.com> 7 */ 8 #ifndef _MATH_UTILS_H 9 #define _MATH_UTILS_H 10 11 12 class MathUtils 13 { 14 public: 15 static float EaseInOutCubic(float time, float begin, float distance, float duration); 16 static float EaseInOutQuart(float time, float begin, float distance, float duration); 17 static float EaseInOutQuint(float time, float begin, float distance, float duration); 18 static float EaseInOutSine(float time, float begin, float distance, float duration); 19 }; 20 21 #endif /* _MATH_UTILS_H */ 22