From: andy Date: Fri, 13 Feb 2004 18:12:08 +0000 (+0000) Subject: Yank the sqrt() terms from the twist calculations. They were causing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1bc3c5eca0fc9ca8f344b0091bf56e6e6254885c;p=flightgear.git Yank the sqrt() terms from the twist calculations. They were causing solution failures for reasons I have still to investigate. --- diff --git a/src/FDM/YASim/Wing.cpp b/src/FDM/YASim/Wing.cpp index f0a7a616f..8816cfa99 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 * Math::sqrt(frac)); + s->setTwist(_twist * 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 * Math::sqrt(frac)); + s->setTwist(_twist * frac); _surfs.add(sr); } }