Added support for matix manipulator setHomePosition(,,)

This commit is contained in:
Robert Osfield
2004-07-12 19:54:54 +00:00
parent 47910f2c2e
commit 0acbe077fa
9 changed files with 135 additions and 58 deletions

View File

@@ -8,6 +8,12 @@ using namespace osgGA;
MatrixManipulator::MatrixManipulator()
{
_minimumDistance = 0.001;
_autoComputeHomePosition = true;
_homeEye.set(0.0,-1.0,0.0);
_homeCenter.set(0.0,0.0,0.0);
_homeUp.set(0.0,0.0,1.0);
}