]> git.mxchange.org Git - flightgear.git/commitdiff
Yank the sqrt() terms from the twist calculations. They were causing
authorandy <andy>
Fri, 13 Feb 2004 18:12:08 +0000 (18:12 +0000)
committerandy <andy>
Fri, 13 Feb 2004 18:12:08 +0000 (18:12 +0000)
solution failures for reasons I have still to investigate.

src/FDM/YASim/Wing.cpp

index f0a7a616fcf0c448927cbce4d69394f21ed17ddc..8816cfa994617f83e1c2ac5da556c6cedb19524b 100644 (file)
@@ -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);
             }
         }