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