]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Gear.hpp
latest updates from JSBSim
[flightgear.git] / src / FDM / YASim / Gear.hpp
index ad08b6ea94b9c02762587f735110f94ab6533df9..62da887b82ef63644e9e0751e88490570fe9dca8 100644 (file)
@@ -50,7 +50,7 @@ public:
     void setIgnoreWhileSolving(bool c);
     void setGlobalGround(double* global_ground, float* global_vel,
         double globalX, double globalY,
-        int type, const SGMaterial *material);
+        const SGMaterial *material);
     void getPosition(float* out);
     void getCompression(float* out);
     void getGlobalGround(double* global_ground);
@@ -67,6 +67,7 @@ public:
     float getRollSpeed() { return _rollSpeed; }
     float getBumpAltitude();
     bool getGroundIsSolid();
+    float getGroundFrictionFactor() { return (float)_ground_frictionFactor; }
 
     // Takes a velocity of the aircraft relative to ground, a rotation
     // vector, and a ground plane (all specified in local coordinates)
@@ -116,7 +117,6 @@ private:
     float _reduceFrictionByExtension;
     bool _ignoreWhileSolving;
 
-    int _ground_type;
     double _ground_frictionFactor;
     double _ground_rollingFriction;
     double _ground_loadCapacity;