]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/hitlist.hxx
Check for the plib version when using display lists, just to be sure.
[flightgear.git] / src / Scenery / hitlist.hxx
index df54ef26a6abbe4ff6c016a089537774893a09d9..3ba8f3ba90602fa961bc5104d4cd6689f8def05c 100644 (file)
 
 #include <vector>
 
-#include <plib/ssg.h>
-
 SG_USING_STD(vector);
 
+class ssgEntity;
+class ssgBranch;
+
 class FGHitRec {
 
 private:
@@ -85,6 +86,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 +95,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,