Remove SGLocation based api.
Modified Files: src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
This commit is contained in:
parent
5f76fdd07a
commit
85be5659a7
2 changed files with 0 additions and 8 deletions
|
@ -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()" );
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue