Build fix

This commit is contained in:
Robert Osfield
2017-05-25 09:54:11 +01:00
parent 2fe039e349
commit 502acc19c9
2 changed files with 3 additions and 4 deletions

View File

@@ -407,8 +407,7 @@ void testQuat(const osg::Vec3d& quat_scale)
0.0, 0.0, 0.5, 0.0,
1.0, 1.0, 1.0, 1.0);
osg::Quat quat;
matrix.get(quat);
osg::Quat quat = matrix.getRotate();
osg::notify(osg::NOTICE)<<"Matrix = "<<matrix<<"rotation = "<<quat<<", expected quat = (0,0,0,1)"<<std::endl;
}