Skip to content

Commit

Permalink
[Globe] Set home viewport to lon 0
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jun 15, 2016
1 parent 3fd27e0 commit 7ddb292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/globe/globe_plugin.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 7ddb292

Please sign in to comment.