- Timestamp:
- 10/24/04 22:04:00 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgscalarbar/osgscalarbar.cpp
r3516 r3528 85 85 86 86 osg::MatrixTransform * modelview = new osg::MatrixTransform; 87 modelview->setReferenceFrame(osg::Transform::ABSOLUTE );87 modelview->setReferenceFrame(osg::Transform::ABSOLUTE_RF); 88 88 osg::Matrixd matrix(osg::Matrixd::scale(1000,1000,1000) * osg::Matrixd::translate(120,10,0)); // I've played with these values a lot and it seems to work, but I have no idea why 89 89 modelview->setMatrix(matrix);
