]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Jet.hpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / Jet.hpp
index 2376aa950e9c72eac08b28a748b8b07b7520c6a0..9bfe6512e15ba90a1801ee49669468177789e2de 100644 (file)
@@ -39,6 +39,9 @@ public:
     float getEPR();
     float getEGT();
 
+    // Normalized "performance" number.  Used for fuzzy numbers in FGFDM
+    float getPerfNorm() { return (_n1 - _n1Min) / (_n1Max - _n1Min); }
+
     // From Thruster:
     virtual bool isRunning();
     virtual bool isCranking();