From 5f443e75a9c25244a28b749094262c0a227f44be Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 13 May 2008 18:28:26 +0000 Subject: [PATCH] Fixed lat/long ordering --- applications/osgfilecache/osgfilecache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/osgfilecache/osgfilecache.cpp b/applications/osgfilecache/osgfilecache.cpp index d4bc0db17..2c4ebbb3c 100644 --- a/applications/osgfilecache/osgfilecache.cpp +++ b/applications/osgfilecache/osgfilecache.cpp @@ -276,7 +276,7 @@ protected: void convertXYZToLatLongHeight(osg::EllipsoidModel* em, osg::Vec3d& v) { em->convertXYZToLatLongHeight(v.x(), v.y(), v.z(), - v.x(), v.y(), v.z()); + v.y(), v.x(), v.z()); v.x() = osg::RadiansToDegrees(v.x()); v.y() = osg::RadiansToDegrees(v.y());