Skip to content
Permalink
Browse files

[Globe] Set home viewport to lon 0

  • Loading branch information
manisandro committed Jun 15, 2016
1 parent 3fd27e0 commit 7ddb2928fe1fd6a7f46a39fee23d4c0a27e694a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/globe/globe_plugin.cpp
@@ -301,7 +301,7 @@ void GlobePlugin::run()
osgEarth::Util::EarthManipulator* manip = new osgEarth::Util::EarthManipulator();
mOsgViewer->setCameraManipulator( manip );
osgEarth::Util::Viewpoint viewpoint;
viewpoint.focalPoint() = osgEarth::GeoPoint( osgEarth::SpatialReference::get( "wgs84" ), -90., 0., 0. );
viewpoint.focalPoint() = osgEarth::GeoPoint( osgEarth::SpatialReference::get( "wgs84" ), 0., 0., 0. );
viewpoint.heading() = 0.;
viewpoint.pitch() = -90.;
viewpoint.range() = 2e7;

0 comments on commit 7ddb292

Please sign in to comment.
You can’t perform that action at this time.