Show
Ignore:
Timestamp:
10/24/04 22:04:00 (10 years ago)
Author:
robert
Message:

Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define

Files:
1 modified

Legend:

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

    r3516 r3528  
    103103        text->setFont(timesFont); 
    104104        text->setPosition(position); 
    105         text->setText("And add an osg::ModelViewMatrix set to ABSOLUTE to ensure\nit remains independent from any external model view matrices."); 
     105        text->setText("And add an osg::ModelViewMatrix set to ABSOLUTE_RF to ensure\nit remains independent from any external model view matrices."); 
    106106         
    107107        position += delta; 
     
    149149    // create the hud. 
    150150    osg::MatrixTransform* modelview_abs = new osg::MatrixTransform; 
    151     modelview_abs->setReferenceFrame(osg::Transform::ABSOLUTE); 
     151    modelview_abs->setReferenceFrame(osg::Transform::ABSOLUTE_RF); 
    152152    modelview_abs->setMatrix(osg::Matrix::identity()); 
    153153    modelview_abs->addChild(geode);