]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Ground.cpp
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / FDM / YASim / Ground.cpp
index 3fc299d7fc1d1e50ee523f48e8a8ee73186a1757..955319e6848988ede9af105728b21f723b66df6f 100644 (file)
@@ -1,5 +1,10 @@
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "Glue.hpp"
 
+#include <simgear/bvh/BVHMaterial.hxx>
 #include "Ground.hpp"
 namespace yasim {
 
@@ -28,6 +33,13 @@ void Ground::getGroundPlane(const double pos[3],
     vel[2] = 0.0;
 }
 
+void Ground::getGroundPlane(const double pos[3],
+                            double plane[4], float vel[3],
+                            const simgear::BVHMaterial **material)
+{
+    getGroundPlane(pos,plane,vel);
+}
+
 bool Ground::caughtWire(const double pos[4][3])
 {
     return false;