]> git.mxchange.org Git - flightgear.git/commitdiff
Oops, "one third from the edge" means "one SIXTH from the center".
authorandy <andy>
Tue, 19 Mar 2002 00:02:18 +0000 (00:02 +0000)
committerandy <andy>
Tue, 19 Mar 2002 00:02:18 +0000 (00:02 +0000)
src/FDM/YASim/Surface.cpp

index baae993b81e49346b3a58eb7b5dd20f4e895e570..536caf680d611eddbb8e71a063171a4feb9a2a45 100644 (file)
@@ -171,10 +171,10 @@ void Surface::calcForce(float* v, float rho, float* out, float* torque)
     // Airfoil lift (pre-stall and zero-alpha) torques "up" (negative
     // torque) around the Y axis, while flap lift pushes down.  Both
     // forces are considered to act at one third chord from the
-    // center.  Convert to local (i.e. airplane) coordiantes and store
+    // edge.  Convert to local (i.e. airplane) coordiantes and store
     // into "torque".
     torque[0] = 0;
-    torque[1] = 0.33 * _chord * (flapLift - (_cz*_cz0 + stallLift));
+    torque[1] = 0.1667 * _chord * (flapLift - (_cz*_cz0 + stallLift));
     torque[2] = 0;
     Math::tmul33(_orient, torque, torque);