Start on SimConnect
This commit is contained in:
1 parent
997586b8aa
commit
23db85c2a5
22 files changed
+1209
-116
No files matched your search
@@ -1,12 +1,7 @@
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_GEODATA_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_GEODATA_H
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
#ifdef IBM
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#define M_PI 3.14159265358979323846
|
||||
#define BUFSIZE 1024
|
||||
#define MD5LEN 16
|
||||
#define EARTH_M 6371000
|
||||
@@ -35,6 +30,8 @@ namespace geodata
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
static inline double toMetre(double value) { return value * 0.3048; }
|
||||
|
||||
static inline double toFeet(double value) { return value * 3.280839895; }
|
||||
|
||||
static inline double toDegrees(double value) { return value * 180 / M_PI; }
|
||||
@@ -240,6 +237,7 @@ namespace geodata
|
||||
|
||||
return {primaryTop, secondaryTop, secondaryBottom, primaryBottom};
|
||||
}
|
||||
|
||||
} // namespace geodata
|
||||
} // namespace germanairlinesva
|
||||
|
||||
|
||||
Reference in new issue
Block a user