mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T259, Ref T243 FSX data defintions renamings
This commit is contained in:
@@ -133,14 +133,14 @@ namespace BlackSimPlugin
|
|||||||
//! Data for AI object sent back from simulator
|
//! Data for AI object sent back from simulator
|
||||||
struct DataDefinitionRemoteAircraftSimData
|
struct DataDefinitionRemoteAircraftSimData
|
||||||
{
|
{
|
||||||
double latitude; //!< Latitude (deg)
|
double latitudeDeg; //!< Latitude (deg)
|
||||||
double longitude; //!< Longitude (deg)
|
double longitudeDeg; //!< Longitude (deg)
|
||||||
double altitude; //!< Altitude (ft)
|
double altitudeFt; //!< Altitude (ft)
|
||||||
double elevation; //!< Elevation (ft)
|
double elevationFt; //!< Elevation (ft)
|
||||||
double cgToGround; //!< Static CG to ground (ft)
|
double cgToGroundFt; //!< Static CG to ground (ft)
|
||||||
|
|
||||||
//! Above ground ft
|
//! Above ground ft
|
||||||
double aboveGround() const { return altitude - elevation; }
|
double aboveGround() const { return altitudeFt - elevationFt; }
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Data struct simulator environment
|
//! Data struct simulator environment
|
||||||
|
|||||||
Reference in New Issue
Block a user