sendPOSI command change (double for lat/lon/h) (#111)
* Updated POSI to use doubles for lat/lon/alt, as step size for floats was unacceptably large at high longitudes.
This commit is contained in:
committed by
Jason Watkins
parent
48656f2b4c
commit
0e493920fa
@@ -396,7 +396,7 @@ namespace XPC
|
||||
/// \param pos An array containing latitude, longitude and altitude in
|
||||
/// fractional degrees and meters above sea level.
|
||||
/// \param aircraft The aircraft to set the position of.
|
||||
static void SetPosition(float pos[3], char aircraft = 0);
|
||||
static void SetPosition(double pos[3], char aircraft = 0);
|
||||
|
||||
/// Sets the orientation of the specified aircraft.
|
||||
///
|
||||
@@ -417,7 +417,7 @@ namespace XPC
|
||||
///
|
||||
/// \param value The value to check.
|
||||
/// \returns true if value is a default value; otherwise false.
|
||||
static bool IsDefault(float value);
|
||||
static bool IsDefault(double value);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user