Fixed the Flight and Drive manipulators to work with the updated Matrix::rotate

code.
This commit is contained in:
Robert Osfield
2001-10-14 09:57:33 +00:00
parent 3ecaf3cd6c
commit 72dc08cd9a
2 changed files with 4 additions and 4 deletions

View File

@@ -405,7 +405,7 @@ bool DriveManipulator::calcMovement()
float dx = _ga_t0->getX()-mx;
float yaw = inDegrees(dx*0.1f*dt);
float yaw = -inDegrees(dx*0.1f*dt);
osg::Matrix mat;
mat.makeTrans(-center.x(),-center.y(),-center.z());