xref: /haiku/src/apps/haiku3d/MathUtils.h (revision bea66afaeb8d038d8918106a430a56b6e9fb3109)
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,
16 						float duration);
17 	static	float	EaseInOutQuart(float time, float begin, float distance,
18 						float duration);
19 	static	float	EaseInOutQuint(float time, float begin, float distance,
20 						float duration);
21 	static	float	EaseInOutSine(float time, float begin, float distance,
22 						float duration);
23 };
24 
25 #endif /* _MATH_UTILS_H */
26