Fixed lat/long ordering
This commit is contained in:
parent
e28ae8c7f3
commit
5f443e75a9
@ -276,7 +276,7 @@ protected:
|
|||||||
void convertXYZToLatLongHeight(osg::EllipsoidModel* em, osg::Vec3d& v)
|
void convertXYZToLatLongHeight(osg::EllipsoidModel* em, osg::Vec3d& v)
|
||||||
{
|
{
|
||||||
em->convertXYZToLatLongHeight(v.x(), v.y(), v.z(),
|
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.x() = osg::RadiansToDegrees(v.x());
|
||||||
v.y() = osg::RadiansToDegrees(v.y());
|
v.y() = osg::RadiansToDegrees(v.y());
|
||||||
|
Loading…
Reference in New Issue
Block a user