Changeset 596 for trunk/avango-osg
- Timestamp:
- 11/30/11 18:39:06 (6 months ago)
- File:
-
- 1 edited
-
trunk/avango-osg/python/avango/osg/OSGMatrix.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-osg/python/avango/osg/OSGMatrix.cpp
r595 r596 162 162 163 163 //taken from delta3D 164 osg:: Matrix MatrixToHpr( osg::Vec3& hpr)164 osg::Vec3 MatrixToHpr( osg::Matrix& rotation ) 165 165 { 166 166 //implementation converted from plib's sg.cxx … … 169 169 //For further information visit http://plib.sourceforge.net 170 170 171 osg:: Matrix rotation;171 osg::Vec3 hpr; 172 172 173 173 osg::Matrix mat; … … 180 180 { 181 181 hpr.set(0.0f, 0.0f, 0.0f); 182 return osg:: Matrix();182 return osg::Vec3(); 183 183 } 184 184 … … 227 227 hpr[2] = atan2(sr, cr); 228 228 } 229 return rotation;229 return hpr; 230 230 } 231 231
Note: See TracChangeset
for help on using the changeset viewer.
