]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Ground.hpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / Ground.hpp
index eec8f997d963b706f739807b65e2863ebe40db86..8b90453572246155dc8edd86a09a714137527cc4 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _GROUND_HPP
 #define _GROUND_HPP
 
+class SGMaterial;
 namespace yasim {
 
 class Ground {
@@ -11,6 +12,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 SGMaterial **material);
+
     virtual bool caughtWire(const double pos[4][3]);
 
     virtual bool getWire(double end[2][3], float vel[2][3]);