From: andy Date: Mon, 9 Feb 2004 19:53:14 +0000 (+0000) Subject: Put the sqrt(frac) terms back into the wing twist. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fc565ebd86a24d43c682b2c92d353478dc568e12;p=flightgear.git Put the sqrt(frac) terms back into the wing twist. --- diff --git a/src/FDM/YASim/Wing.cpp b/src/FDM/YASim/Wing.cpp index 8816cfa99..f0a7a616f 100644 --- a/src/FDM/YASim/Wing.cpp +++ b/src/FDM/YASim/Wing.cpp @@ -349,7 +349,7 @@ void Wing::compile() sr->surface = s; sr->weight = chord * segWid; s->setTotalDrag(sr->weight); - s->setTwist(_twist * frac); + s->setTwist(_twist * Math::sqrt(frac)); _surfs.add(sr); if(_mirror) { @@ -360,7 +360,7 @@ void Wing::compile() sr->surface = s; sr->weight = chord * segWid; s->setTotalDrag(sr->weight); - s->setTwist(_twist * frac); + s->setTwist(_twist * Math::sqrt(frac)); _surfs.add(sr); } }