]> 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 87f125afffbc8d4c8ba733ba7b77a6cc57987d45..f3cdadbfbd7cda85975444d3bcdf682ff239e79a 100644 (file)
@@ -4,7 +4,9 @@
 #include "Ground.hpp"
 
 class FGInterface;
-class SGMaterial;
+namespace simgear {
+class BVHMaterial;
+}
 
 namespace yasim {
 
@@ -20,14 +22,8 @@ public:
                                 double plane[4], float vel[3]);
 
     virtual void getGroundPlane(const double pos[3],
-                              double plane[4], float vel[3],
-                              int *type, const SGMaterial **material);/*
-                              double *frictionFactor, 
-                              double *rollingFriction,
-                              double *loadCapacity,
-                              double *loadResistance,
-                              double *bumpiness,
-                              bool *isSolid);*/
+                                double plane[4], float vel[3],
+                                const simgear::BVHMaterial **material);
 
     virtual bool caughtWire(const double pos[4][3]);