Equalizer  2.1.0
Parallel Rendering Framework
vmmlib.h
1 
2 /* Copyright (c) 2011-2017, Stefan Eilemann <eile@eyescale.ch>
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 2.1 as published
6  * by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11  * details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16  */
17 
18 #ifndef EQFABRIC_VMMLIB_H
19 #define EQFABRIC_VMMLIB_H
20 
21 #if defined(_MSC_VER)
22  //can otherwise cause problems with, e.g., M_PI under Windows.
23 #define _USE_MATH_DEFINES
24 #include <cmath>
25 #ifndef M_PI
26 #include <corecrt_math_defines.h>
27 #endif
28 #else
29 #ifndef M_PI
30 #define M_PI 3.1415926535897932
31 #endif
32 #endif
33 
34 #include <eq/fabric/types.h>
35 #include <lunchbox/bitOperation.h>
36 
37 #pragma warning(push)
38 #pragma warning(disable : 4996)
39 #include <vmmlib/aabb.hpp>
40 #include <vmmlib/frustum.hpp>
41 #include <vmmlib/matrix.hpp>
42 #include <vmmlib/vector.hpp>
43 #pragma warning(pop)
44 
45 #endif // EQFABRIC_VMMLIB_H