]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/FGGround.hpp
FGPUIDialog: fix reading from already free'd memory.
[flightgear.git] / src / FDM / YASim / FGGround.hpp
index 3567c0217a8a4239024d854d161e7273787e1ed1..f3cdadbfbd7cda85975444d3bcdf682ff239e79a 100644 (file)
@@ -4,6 +4,9 @@
 #include "Ground.hpp"
 
 class FGInterface;
+namespace simgear {
+class BVHMaterial;
+}
 
 namespace yasim {
 
@@ -18,6 +21,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]);