]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Gear.hpp
simplify name/number handling
[flightgear.git] / src / FDM / YASim / Gear.hpp
index a042d26e57ab9dd47d26321fb108369105d27503..435ca497301ad0a88d3bc219f58a7ee89e3287f0 100644 (file)
@@ -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)
@@ -64,6 +66,7 @@ public:
     void getForce(float* force, float* contact);
     float getWoW();
     float getCompressFraction();
+    float getCompressDist() { return _compressDist; }
 
 private:
     float calcFriction(float wgt, float v);
@@ -82,8 +85,11 @@ private:
     float _contact[3];
     float _wow;
     float _frac;
+    float _compressDist;
     double _global_ground[4];
     float _global_vel[3];
+    float _casterAngle;
+    float _rollSpeed;
 };
 
 }; // namespace yasim