]> git.mxchange.org Git - flightgear.git/blob - src/FDM/JSBsim/FGDefs.h
92cae474beada3d2b88e3ac57608bbc8b536c249
[flightgear.git] / src / FDM / JSBsim / FGDefs.h
1 /*******************************************************************************
2
3  Header:       FGDefs.h
4  Author:       Jon S. Berndt
5  Date started: 02/01/99
6
7  ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
8
9  This program is free software; you can redistribute it and/or modify it under
10  the terms of the GNU 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 General Public License for more
17  details.
18
19  You should have received a copy of the GNU General Public License along with
20  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21  Place - Suite 330, Boston, MA  02111-1307, USA.
22
23  Further information about the GNU General Public License can also be found on
24  the world wide web at http://www.gnu.org.
25
26 HISTORY
27 --------------------------------------------------------------------------------
28 02/01/99  JSB   Created
29
30 ********************************************************************************
31 SENTRY
32 *******************************************************************************/
33
34 #ifndef FGDEFS_H
35 #define FGDEFS_H
36
37 #define MAX_ENGINES     10
38 #define MAX_TANKS       30
39 #define GRAVITY         32.174
40 #define EARTHRAD        20898908.00       // feet
41 #define OMEGAEARTH      7.2685E-3         // rad/sec
42 #define EARTHRADSQRD    437882827922500.0
43 #define ONESECOND       4.848136811E-6
44 #define ECCENT          0.996647186
45 #define ECCENTSQRD      0.99330561
46 #define INVECCENTSQRD   1.0067395
47 #define INVECCENTSQRDM1 0.0067395
48 #define EPS             0.081819221
49
50
51 /******************************************************************************/
52 #endif