Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed default camera position

  • Loading branch information...
commit 1e11952cd3f7e3cac1ca723dbdcee9d6ba933d38 1 parent 8bb6526
Robert OSFIELD authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/osgframerenderer/CameraProperty.cpp
View
2  examples/osgframerenderer/CameraProperty.cpp
@@ -8,7 +8,7 @@ void CameraProperty::setToModel(const osg::Node* node)
osg::BoundingSphere bs = node->getBound();
_center = bs.center();
- _eye = _center - osg::Vec3d(0.0, -bs.radius()*distanceRatio, 0.0);
+ _eye = _center - osg::Vec3d(0.0, bs.radius()*distanceRatio, 0.0);
_up = osg::Vec3d(0.0, 0.0, 1.0);
_rotationCenter = _center;
Please sign in to comment.
Something went wrong with that request. Please try again.