X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fconstants.h;h=df0fc8baa3e2d74870ec68551b087322090633d5;hb=b3bc36b2534d05c37e5f687f8deccfc9f8659abe;hp=3d8a82fb75af27c2df218e78bec61486333b0430;hpb=353dd73e243e56ed375e6fac9adebd0f819a05c5;p=simgear.git diff --git a/simgear/constants.h b/simgear/constants.h index 3d8a82fb..df0fc8ba 100644 --- a/simgear/constants.h +++ b/simgear/constants.h @@ -31,14 +31,8 @@ #include -#ifdef SG_HAVE_STD_INCLUDES -# include -#else -# ifdef SG_MATH_EXCEPTION_CLASH -# define exception C_exception -# endif -# include -#endif +#include + #include @@ -75,6 +69,8 @@ * 6378.165 but this is probably close enough */ #define SG_EARTH_RAD 6378.155 +// Maximum terrain elevation from sea level +#define SG_MAX_ELEVATION_M 9000.0 // Earth parameters for WGS 84, taken from LaRCsim/ls_constants.h