Show
Ignore:
Timestamp:
07/31/06 19:31:21 (8 years ago)
Author:
robert
Message:

Added Matrix*::getRotate()/setRotate(Quat), deprecating Matrix*::get(Quat&), Matrix*::set(Quat&)

Files:
1 modified

Legend:

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

    r4135 r5371  
    184184                                  osg::Matrix::rotate( osg::DegreesToRadians(90.0f), 1.0f,0.0f,0.0f); 
    185185 
    186             osg::Quat q; 
    187             MV.get(q); 
     186            osg::Quat q = MV.getRotate(); 
    188187            const osg::Matrix C = osg::Matrix::rotate( q.inverse() ); 
    189188