]> git.mxchange.org Git - flightgear.git/commitdiff
Remove SGLocation based api.
authorfrohlich <frohlich>
Sat, 7 Mar 2009 11:47:54 +0000 (11:47 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 11 Mar 2009 22:14:34 +0000 (23:14 +0100)
Modified Files:
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx

src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx

index cc53e63aee027b60fdda958b29374c92516f0823..0d6ef6c89f810ebd654c159a61f5571333b195ac 100644 (file)
@@ -321,13 +321,6 @@ int FGTileMgr::update( double visibility_meters )
     return update(SGGeod::fromDegM(lon, lat, 0), visibility_meters);
 }
 
-int FGTileMgr::update( SGLocation *location, double visibility_meters)
-{
-    double lon = location->getLongitude_deg();
-    double lat = location->getLatitude_deg();
-    return update(SGGeod::fromDegM(lon, lat, 0), visibility_meters);
-}
-
 int FGTileMgr::update( const SGGeod& location, double visibility_meters)
 {
     SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update()" );
index d8c1054318df0a3c6d79fce96ee76f9032b73619..2b32b3786722be49596aa23dfd40ecb9994bdbee 100644 (file)
@@ -94,7 +94,6 @@ public:
     // local chunks.  If the chunk isn't already in the cache, then
     // read it from disk.
     int update( double visibility_meters );
-    int update( SGLocation *location, double visibility_meters);
     int update( const SGGeod& location, double visibility_meters);
 
     // Prepare the ssg nodes corresponding to each tile.  For each