Fix Recording file format
This commit is contained in:
@@ -13,22 +13,25 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
||||
namespace germanairlinesva_geodata
|
||||
{
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct point {
|
||||
double latitude;
|
||||
double longitude;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct box {
|
||||
struct point topLeft;
|
||||
struct point topRight;
|
||||
struct point bottomRight;
|
||||
struct point bottomLeft;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
static inline double toFeet(double value) { return value * 3.280839895; }
|
||||
|
||||
@@ -205,6 +208,4 @@ namespace germanairlinesva_geodata
|
||||
|
||||
} // namespace germanairlinesva_geodata
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif
|
||||
@@ -2,7 +2,6 @@
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_SIMDATA_H
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user