Show
Ignore:
Timestamp:
10/22/04 21:26:45 (10 years ago)
Author:
robert
Message:

Changed the ReferenceFrame? enums to be RELEATIVE and ABSOLUTE, and
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgscalarbar/osgscalarbar.cpp

    r3336 r3516  
    8585 
    8686    osg::MatrixTransform * modelview = new osg::MatrixTransform; 
    87     modelview->setReferenceFrame(osg::Transform::RELATIVE_TO_ABSOLUTE); 
     87    modelview->setReferenceFrame(osg::Transform::ABSOLUTE); 
    8888    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 
    8989    modelview->setMatrix(matrix);