- Timestamp:
- 10/22/04 21:26:45 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgscalarbar/osgscalarbar.cpp
r3336 r3516 85 85 86 86 osg::MatrixTransform * modelview = new osg::MatrixTransform; 87 modelview->setReferenceFrame(osg::Transform:: RELATIVE_TO_ABSOLUTE);87 modelview->setReferenceFrame(osg::Transform::ABSOLUTE); 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);
