Changeset 9135 for OpenSceneGraph/trunk/examples/osgrobot/osgrobot.cpp
- Timestamp:
- 11/08/08 18:53:51 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgrobot/osgrobot.cpp
r9071 r9135 452 452 previousJoint->addChild(mt); 453 453 454 osg::Matrix xMatrix = osg::Matrix::rotate(- M_PI_2, 0.0, 1.0, 0.0);454 osg::Matrix xMatrix = osg::Matrix::rotate(-osg::PI_2, 0.0, 1.0, 0.0); 455 455 mt->setMatrix(xMatrix); 456 456 … … 465 465 osg::MatrixTransform *yMt = new osg::MatrixTransform(); 466 466 previousJoint->addChild(yMt); 467 osg::Matrix yMatrix = osg::Matrix::rotate( M_PI_2, 1.0, 0.0, 0.0);467 osg::Matrix yMatrix = osg::Matrix::rotate(osg::PI_2, 1.0, 0.0, 0.0); 468 468 yMt->setMatrix(yMatrix); 469 469
