RigsofRods
Soft-body Physics Simulation
Prerequisites.h
Go to the documentation of this file.
1 /*
2 --------------------------------------------------------------------------------
3 This source file is part of Hydrax.
4 Visit ---
5 
6 Copyright (C) 2008 Xavier Verguín González <xavierverguin@hotmail.com>
7  <xavyiy@gmail.com>
8 
9 This program is free software; you can redistribute it and/or modify it under
10 the terms of the GNU Lesser General Public License as published by the Free Software
11 Foundation; either version 2 of the License, or (at your option) any later
12 version.
13 
14 This program is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 
18 You should have received a copy of the GNU Lesser General Public License along with
19 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20 Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21 http://www.gnu.org/copyleft/lesser.txt.
22 --------------------------------------------------------------------------------
23 */
24 
25 #ifndef _Hydrax_Prerequisites_H_
26 #define _Hydrax_Prerequisites_H_
27 
29 #include <Ogre.h>
30 
32 #define HYDRAX_VERSION_MAJOR 0
33 #define HYDRAX_VERSION_MINOR 5
34 #define HYDRAX_VERSION_PATCH 4
35 
36 #define HYDRAX_IMAGE_CHECK_PIXELS 0 // See Image.cpp, 1 = Check pixels / 0 = No check pixels
37  // Use it for debug mode only
38 
39 // Windows math library backport
40 #ifndef M_PI
41  #define M_PI 3.14159265358979323846
42 #endif
43 
44 #endif