Replaced BoundingBox with GeospatialExtents.

This commit is contained in:
Robert Osfield 2006-05-15 13:13:16 +00:00
parent 2e0865d0c9
commit 35ed4f742f

View File

@ -217,7 +217,7 @@ int main( int argc, char **argv )
float x,y,w,h;
while (arguments.read("-e",x,y,w,h))
{
dataset->setDestinationExtents(osg::BoundingBox(x,y,0.0f,x+w,y+h,0.0f));
dataset->setDestinationExtents(osgTerrain::GeospatialExtents(x,y,x+w,y+h));
}
while (arguments.read("--HEIGHT_FIELD"))