1 /*
2  * Copyright 2011-2012 Arx Libertatis Team (see the AUTHORS file)
3  *
4  * This file is part of Arx Libertatis.
5  *
6  * Arx Libertatis is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Arx Libertatis is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Arx Libertatis.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef ARX_MATH_MATHFWD_H
21 #define ARX_MATH_MATHFWD_H
22 
23 #include "platform/Platform.h"
24 
25 template <class T>
26 class Angle;
27 typedef Angle<s32> Anglei;
28 typedef Angle<float> Anglef;
29 typedef Angle<double> Angled;
30 
31 template<class T>
32 class Rectangle_;
33 typedef Rectangle_<s32> Rect;
34 typedef Rectangle_<float> Rectf;
35 
36 template <class T>
37 class Vector2;
38 typedef Vector2<s32> Vec2i;
39 typedef Vector2<short> Vec2s;
40 typedef Vector2<float> Vec2f;
41 typedef Vector2<double> Vec2d;
42 
43 template <class T>
44 class Vector3;
45 typedef Vector3<s32> Vec3i;
46 typedef Vector3<float> Vec3f;
47 typedef Vector3<double> Vec3d;
48 
49 // Math constants
50 #define PI 3.14159265358979323846f
51 
52 #endif // ARX_MATH_MATHFWD_H
53