1
0
Fork 0

Remove SGLocation based api.

Modified Files:
	src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
This commit is contained in:
frohlich 2009-03-07 11:47:54 +00:00 committed by Tim Moore
parent 5f76fdd07a
commit 85be5659a7
2 changed files with 0 additions and 8 deletions

View file

@ -321,13 +321,6 @@ int FGTileMgr::update( double visibility_meters )
return update(SGGeod::fromDegM(lon, lat, 0), 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) int FGTileMgr::update( const SGGeod& location, double visibility_meters)
{ {
SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update()" ); SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update()" );

View file

@ -94,7 +94,6 @@ public:
// local chunks. If the chunk isn't already in the cache, then // local chunks. If the chunk isn't already in the cache, then
// read it from disk. // read it from disk.
int update( double visibility_meters ); int update( double visibility_meters );
int update( SGLocation *location, double visibility_meters);
int update( const SGGeod& location, double visibility_meters); int update( const SGGeod& location, double visibility_meters);
// Prepare the ssg nodes corresponding to each tile. For each // Prepare the ssg nodes corresponding to each tile. For each