mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Utility function
This commit is contained in:
committed by
Mat Sutcliffe
parent
25b30ccf34
commit
a7ae5290d0
@@ -184,6 +184,9 @@ namespace BlackSimPlugin
|
||||
|
||||
//! Above ground ft
|
||||
double aboveGroundFt() const { return altitudeFt - elevationFt; }
|
||||
|
||||
//! Above ground ft
|
||||
bool isOnGround() const { return this->aboveGroundFt() < 1.0; }
|
||||
};
|
||||
|
||||
//! Data struct simulator environment
|
||||
|
||||
Reference in New Issue
Block a user