]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Gear.hpp
YASim airborne start-up
[flightgear.git] / src / FDM / YASim / Gear.hpp
index c3b82cba51b41188b35879bbcd2752b215cae442..8d8cb35442002b4e6a275e8173a12bf81beff022 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef _GEAR_HPP
 #define _GEAR_HPP
 
-class SGMaterial;
+namespace simgear {
+class BVHMaterial;
+}
 
 namespace yasim {
 
@@ -50,7 +52,7 @@ public:
     void setIgnoreWhileSolving(bool c);
     void setGlobalGround(double* global_ground, float* global_vel,
         double globalX, double globalY,
-        int type, const SGMaterial *material);
+                         const simgear::BVHMaterial *material);
     void getPosition(float* out);
     void getCompression(float* out);
     void getGlobalGround(double* global_ground);
@@ -117,7 +119,6 @@ private:
     float _reduceFrictionByExtension;
     bool _ignoreWhileSolving;
 
-    int _ground_type;
     double _ground_frictionFactor;
     double _ground_rollingFriction;
     double _ground_loadCapacity;