]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/hitlist.hxx
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
[flightgear.git] / src / Scenery / hitlist.hxx
index e4f8cd4663e51a9f552db70c36171c1f6afff334..7956b343eaa75b1f488657f61c1dd284306431db 100644 (file)
@@ -53,7 +53,7 @@ public:
 
     FGHitList();
     ~FGHitList();
-       
+
     void init(void) { list.clear(); test_dist=DBL_MAX; }
     void clear(void) { init(); last = NULL; }
     void add( ssgEntity *ent, int idx, sgdVec3 point, sgdVec3 normal ) {
@@ -85,6 +85,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 +94,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,