]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Gear.hpp
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
[flightgear.git] / src / FDM / YASim / Gear.hpp
index dc9a4ed355c3faf582a1523cb579db7cdb2ee5bb..6b0301fe1767bd94f5d261ae53d51257156afb34 100644 (file)
@@ -4,7 +4,7 @@
 namespace yasim {
 
 class RigidBody;
-class State;
+struct State;
 
 // A landing gear has the following parameters:
 //
@@ -52,6 +52,8 @@ public:
     float getRotation();
     float getExtension();
     bool getCastering();
+    float getCasterAngle() { return _casterAngle; }
+    float getRollSpeed() { return _rollSpeed; }
 
     // Takes a velocity of the aircraft relative to ground, a rotation
     // vector, and a ground plane (all specified in local coordinates)
@@ -84,6 +86,8 @@ private:
     float _frac;
     double _global_ground[4];
     float _global_vel[3];
+    float _casterAngle;
+    float _rollSpeed;
 };
 
 }; // namespace yasim