Show
Ignore:
Timestamp:
10/22/04 21:26:45 (9 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/osgdistortion/osgdistortion.cpp

    r3281 r3516  
    145145    // create the hud. 
    146146    osg::MatrixTransform* modelview_abs = new osg::MatrixTransform; 
    147     modelview_abs->setReferenceFrame(osg::Transform::RELATIVE_TO_ABSOLUTE); 
     147    modelview_abs->setReferenceFrame(osg::Transform::ABSOLUTE); 
    148148    modelview_abs->setMatrix(osg::Matrix::identity()); 
    149149    modelview_abs->addChild(geode);