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/osgphotoalbum/osgphotoalbum.cpp

    r2688 r3516  
    8181    virtual bool computeLocalToWorldMatrix(osg::Matrix& matrix,osg::NodeVisitor*) const  
    8282    { 
    83         if (_referenceFrame==RELATIVE_TO_PARENTS) 
     83        if (_referenceFrame==RELATIVE) 
    8484        { 
    8585            matrix.preMult(getMatrix()); 
     
    9797        const osg::Matrix& inverse = getInverseMatrix(); 
    9898 
    99         if (_referenceFrame==RELATIVE_TO_PARENTS) 
     99        if (_referenceFrame==RELATIVE) 
    100100        { 
    101101            matrix.postMult(inverse);