]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Ground.cpp
#798: Betrand Coconnier: Fix setting initial vertical speed with JSBSim
[flightgear.git] / src / FDM / YASim / Ground.cpp
index 3fc299d7fc1d1e50ee523f48e8a8ee73186a1757..30d8583a459b5266495f2f9071513d5f33338357 100644 (file)
@@ -1,5 +1,10 @@
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "Glue.hpp"
 
+#include <simgear/scene/material/mat.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 SGMaterial **material)
+{
+    getGroundPlane(pos,plane,vel);
+}
+
 bool Ground::caughtWire(const double pos[4][3])
 {
     return false;