X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FYASim%2FGear.hpp;h=62da887b82ef63644e9e0751e88490570fe9dca8;hb=d66903e9ad63b91182ccc25d9bb82f18f8dd98b6;hp=ad08b6ea94b9c02762587f735110f94ab6533df9;hpb=53f09ff6a571113640cc9add52e1ca449e3d1b73;p=flightgear.git diff --git a/src/FDM/YASim/Gear.hpp b/src/FDM/YASim/Gear.hpp index ad08b6ea9..62da887b8 100644 --- a/src/FDM/YASim/Gear.hpp +++ b/src/FDM/YASim/Gear.hpp @@ -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;