Fixed manipulator.

This commit is contained in:
Robert Osfield 2003-05-20 08:43:09 +00:00
parent ab1b199da8
commit d156e259ef

View File

@ -51,7 +51,7 @@ void TestManipulator::home(const GUIEventAdapter& ,GUIActionAdapter& us)
const osg::BoundingSphere& boundingSphere=_node->getBound(); const osg::BoundingSphere& boundingSphere=_node->getBound();
computePosition(boundingSphere.center()+osg::Vec3(0.0f, 0.0f, 20.0f), computePosition(boundingSphere.center()+osg::Vec3(0.0f, 0.0f, 20.0f),
osg::Vec3(0.0f, 1.0f, 20.0f), osg::Vec3(0.0f, 1.0f, 0.0f),
osg::Vec3(0.0f, 0.0f, 1.0f)); osg::Vec3(0.0f, 0.0f, 1.0f));
us.requestRedraw(); us.requestRedraw();