From a1ad54310daa75c0ba6ef41e12a5dd2ea03e62cb Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Sat, 5 Mar 2016 17:49:49 +0100 Subject: [PATCH] LP-29 fixed minor typo --- ground/gcs/src/libs/osgearth/osgQtQuick/OSGCamera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGCamera.cpp b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGCamera.cpp index 4e2685cd3..692d853bb 100644 --- a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGCamera.cpp +++ b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGCamera.cpp @@ -384,7 +384,7 @@ public: osg::Matrix cameraMatrix = cameraRotation * osg::Matrix::rotate(roll, osg::Vec3(0, 1, 0)) * osg::Matrix::rotate(pitch, osg::Vec3(1, 0, 0)) - * osg::Matrix::rotate(yaw, osg::Vec3(0, 0, -1.0)) * cameraPosition; + * osg::Matrix::rotate(yaw, osg::Vec3(0, 0, -1)) * cameraPosition; // Inverse the camera's position and orientation matrix to obtain the view matrix cameraMatrix = osg::Matrix::inverse(cameraMatrix);