repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haiku3d / MathUtils.h
blobdd548643162a7fd37aff1ce19376c64fb8797077
1 /*
2 * Copyright 2009, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Alexandre Deckner <alex@zappotek.com>
7 */
8 #ifndef _MATH_UTILS_H
9 #define _MATH_UTILS_H
12 class MathUtils
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);
25 #endif /* _MATH_UTILS_H */