]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Ground.hpp
YASim airborne start-up
[flightgear.git] / src / FDM / YASim / Ground.hpp
index eec8f997d963b706f739807b65e2863ebe40db86..436c6e757b16b231c8f790508c888f1946d944a2 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef _GROUND_HPP
 #define _GROUND_HPP
 
+namespace simgear {
+class BVHMaterial;
+}
 namespace yasim {
 
 class Ground {
@@ -11,6 +14,10 @@ public:
     virtual void getGroundPlane(const double pos[3],
                                 double plane[4], float vel[3]);
 
+    virtual void getGroundPlane(const double pos[3],
+                                double plane[4], float vel[3],
+                                const simgear::BVHMaterial **material);
+
     virtual bool caughtWire(const double pos[4][3]);
 
     virtual bool getWire(double end[2][3], float vel[2][3]);