]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Wing.hpp
Don't fiddle with control positions at startup -- we can do that in
[flightgear.git] / src / FDM / YASim / Wing.hpp
index b448f83fa018d3426b6e761bc945ab965592c665..5052d7a26b4b1bf7ec393375af984ec3598c4f69 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _WING_HPP
 #define _WING_HPP
 
-#include "util/Vector.hpp"
+#include "Vector.hpp"
 
 namespace yasim {
 
@@ -27,8 +27,10 @@ public:
     void setStall(float aoa);
     void setStallWidth(float angle);
     void setStallPeak(float fraction);
+    void setTwist(float angle);
     void setCamber(float camber);
     void setIncidence(float incidence);
+    void setInducedDrag(float drag) { _inducedDrag = drag; }
     
     void setFlap0(float start, float end, float lift, float drag);
     void setFlap1(float start, float end, float lift, float drag);
@@ -44,6 +46,10 @@ public:
     // Compile the thing into a bunch of Surface objects
     void compile();
 
+    void getTip(float* tip);
+
+    bool isMirrored();
+
     // Ground effect information
     float getGroundEffect(float* posOut);
     
@@ -87,8 +93,10 @@ private:
     float _stall;
     float _stallWidth;
     float _stallPeak;
+    float _twist;
     float _camber;
     float _incidence;
+    float _inducedDrag;
 
     float _dragScale;
     float _liftRatio;