]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Ground.cpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / Ground.cpp
index 3fc299d7fc1d1e50ee523f48e8a8ee73186a1757..32313f343b890e63e9eefabcacba5cd27e5c2c6d 100644 (file)
@@ -1,5 +1,6 @@
 #include "Glue.hpp"
 
+#include <simgear/scene/material/mat.hxx>
 #include "Ground.hpp"
 namespace yasim {
 
@@ -28,6 +29,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;