X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2Fflight.hxx;h=bf1bf28bbe59a5f87cfb2aabaaabbc6ce2d69d61;hb=4e6f0e18fd63decc293984f759f1de74c2693a17;hp=9c312f33dcd280b21cfd0ead54e16737c72b1314;hpb=0abf252ec8bc933b9b7c045f8782cfc7f16c0465;p=flightgear.git diff --git a/src/FDM/flight.hxx b/src/FDM/flight.hxx index 9c312f33d..bf1bf28bb 100644 --- a/src/FDM/flight.hxx +++ b/src/FDM/flight.hxx @@ -89,6 +89,10 @@ using std::list; using std::vector; using std::string; +namespace simgear { +class BVHMaterial; +} + /** * A little helper class to update the track if * the position has changed. In the constructor, @@ -187,6 +191,7 @@ private: double climb_rate; // in feet per second double altitude_agl; double track; + double delta_loops; simgear::TiedPropertyList _tiedProperties; @@ -691,11 +696,11 @@ public: // contact point. bool get_agl_m(double t, const double pt[3], double max_altoff, double contact[3], double normal[3], double linearVel[3], - double angularVel[3], SGMaterial const*& material, + double angularVel[3], simgear::BVHMaterial const*& material, simgear::BVHNode::Id& id); bool get_agl_ft(double t, const double pt[3], double max_altoff, double contact[3], double normal[3], double linearVel[3], - double angularVel[3], SGMaterial const*& material, + double angularVel[3], simgear::BVHMaterial const*& material, simgear::BVHNode::Id& id); double get_groundlevel_m(double lat, double lon, double alt); double get_groundlevel_m(const SGGeod& geod); @@ -706,11 +711,11 @@ public: // position pt. bool get_nearest_m(double t, const double pt[3], double maxDist, double contact[3], double normal[3], double linearVel[3], - double angularVel[3], SGMaterial const*& material, + double angularVel[3], simgear::BVHMaterial const*& material, simgear::BVHNode::Id& id); bool get_nearest_ft(double t, const double pt[3], double maxDist, double contact[3], double normal[3],double linearVel[3], - double angularVel[3], SGMaterial const*& material, + double angularVel[3], simgear::BVHMaterial const*& material, simgear::BVHNode::Id& id);