From c426c4fda9df5360cc52919d0ed8c1802b015e37 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 30 Dec 2001 16:58:33 +0000 Subject: [PATCH] Updated the default home position of so that a better view of the scene is seen. --- src/Demos/hangglide/GliderManipulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Demos/hangglide/GliderManipulator.cpp b/src/Demos/hangglide/GliderManipulator.cpp index 79f4bdfd3..139a87c7a 100644 --- a/src/Demos/hangglide/GliderManipulator.cpp +++ b/src/Demos/hangglide/GliderManipulator.cpp @@ -43,7 +43,7 @@ void GliderManipulator::home(const GUIEventAdapter& ea,GUIActionAdapter& us) const osg::BoundingSphere& boundingSphere=_node->getBound(); - osg::Vec3 eye = boundingSphere._center+osg::Vec3(-boundingSphere._radius*0.15f,-boundingSphere._radius*0.15f,-boundingSphere._radius*0.03f); + osg::Vec3 eye = boundingSphere._center+osg::Vec3(-boundingSphere._radius*0.25f,-boundingSphere._radius*0.25f,-boundingSphere._radius*0.03f); _camera->setView(eye, eye+osg::Vec3(1.0f,1.0f,-0.1f),