diff --git a/src/FDM/YASim/Airplane.cpp b/src/FDM/YASim/Airplane.cpp index 1b69c2ce7..a33067d24 100644 --- a/src/FDM/YASim/Airplane.cpp +++ b/src/FDM/YASim/Airplane.cpp @@ -370,7 +370,7 @@ float Airplane::compileWing(Wing* w) _wingsN->getNode("wing-span", true)->setFloatValue(w->getSpan()); _wingsN->getNode("wing-area", true)->setFloatValue(w->getArea()); _wingsN->getNode("aspect-ratio", true)->setFloatValue(w->getAspectRatio()); - _wingsN->getNode("mean-chord", true)->setFloatValue(w->getMAC()); + _wingsN->getNode("standard-mean-chord", true)->setFloatValue(w->getSMC()); } float wgt = 0; diff --git a/src/FDM/YASim/Wing.hpp b/src/FDM/YASim/Wing.hpp index 1ee775d67..d757f8236 100644 --- a/src/FDM/YASim/Wing.hpp +++ b/src/FDM/YASim/Wing.hpp @@ -73,7 +73,7 @@ public: float getSpan() { return _wingspan; }; float getArea() { return _wingspan*_meanChord; }; float getAspectRatio() { return _aspectRatio; }; - float getMAC() { return _meanChord; }; + float getSMC() { return _meanChord; }; int numSurfaces() { return _surfs.size(); } Surface* getSurface(int n) { return ((SurfRec*)_surfs.get(n))->surface; } @@ -113,7 +113,7 @@ private: // calculated from above float _tip[3]; - float _meanChord; + float _meanChord; // std. mean chord float _wingspan; float _aspectRatio;