diff --git a/examples/osgunittests/osgunittests.cpp b/examples/osgunittests/osgunittests.cpp index 35af6743d..258123b66 100644 --- a/examples/osgunittests/osgunittests.cpp +++ b/examples/osgunittests/osgunittests.cpp @@ -314,8 +314,21 @@ void testQuat() testQuatRotate(osg::Vec3d(0.0,0.0,-1.0),osg::Vec3d(0.0,0.0,1.0)); testGetQuatFromMatrix(); + + + osg::Matrix matrix(0.5, 0.0, 0.0, 0.0, + 0.0, 0.5, 0.0, 0.0, + 0.0, 0.0, 0.5, 0.0, + 1.0, 1.0, 1.0, 1.0); + + osg::Quat quat; + matrix.get(quat); + + osg::notify(osg::NOTICE)<<"Matrix = "<