]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/hitlist.hxx
A long, long time ago, a bug was inadvertently introduced into the threaded
[flightgear.git] / src / Scenery / hitlist.hxx
index df54ef26a6abbe4ff6c016a089537774893a09d9..e1faaac3ddae629e89fac2b03317788d5771005a 100644 (file)
 #include <simgear/compiler.h>
 
 #include <vector>
+SG_USING_STD(vector);
 
 #include <plib/ssg.h>
 
-SG_USING_STD(vector);
+class ssgEntity;
+class ssgBranch;
 
 class FGHitRec {
 
@@ -85,6 +87,7 @@ public:
 // center, find the current terrain intersection elevation for the
 // point specified.
 bool fgCurrentElev( sgdVec3 abs_view_pos,
+                    double max_alt_m,
                     sgdVec3 scenery_center,
                     ssgTransform *terra_transform,
                     FGHitList *hit_list,
@@ -93,6 +96,7 @@ bool fgCurrentElev( sgdVec3 abs_view_pos,
                     double *normal );
 
 bool fgCurrentElev( sgdVec3 abs_view_pos,
+                    double max_alt_m,
                     sgdVec3 scenery_center,
                     FGHitList *hit_list,
                     double *terrain_elev,