1
0
Fork 0

YASim bugfix, correct an obvious copy-and-paste error

This commit is contained in:
Henning Stahlke 2017-02-06 19:47:41 +01:00
parent 41b18155a8
commit dd420c6ff4

View file

@ -442,14 +442,14 @@ Surface* Wing::newSurface(float* pos, float* orient, float chord,
s->setStallWidth(0, _stallWidth); s->setStallWidth(0, _stallWidth);
s->setStallPeak(0, _stallPeak); s->setStallPeak(0, _stallPeak);
// The negative AoA stall is the same if we're using an uncambered // The negative AoA stall is the same if we're using an symmetric
// airfoil, otherwise a "little badder". // airfoil, otherwise a "little worse".
if(_camber > 0) { if(_camber > 0) {
s->setStall(1, stallAoA * 0.8f); s->setStall(1, stallAoA * 0.8f);
s->setStallWidth(1, _stallWidth * 0.5f); s->setStallWidth(1, _stallWidth * 0.5f);
} else { } else {
s->setStall(1, stallAoA); s->setStall(1, stallAoA);
s->setStall(1, _stallWidth); s->setStallWidth(1, _stallWidth);
} }
// The "reverse" stalls are unmeasurable junk. Just use 13deg and // The "reverse" stalls are unmeasurable junk. Just use 13deg and