YASim Wing method name clarification (SMC is not MAC).
This commit is contained in:
parent
bb9a8a1850
commit
c61730db92
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue