]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewer_lookat.cxx
Added support for managing fov via the property manager so the --fov= option
[flightgear.git] / src / Main / viewer_lookat.cxx
index acbc0ed3f70388b93028a48a55347601890e3710..82c35cce87bed2ba50640c7b8f554083df4e6746 100644 (file)
@@ -45,6 +45,7 @@
 // Constructor
 FGViewerLookAt::FGViewerLookAt( void )
 {
+    set_reverse_view_offset(true);
 }
 
 
@@ -177,8 +178,8 @@ void FGViewerLookAt::update() {
     // THIS IS THE EXPERIMENTAL VIEWING ANGLE SHIFTER
     // THE MAJORITY OF THE WORK IS DONE IN GUI.CXX
     // this in gui.cxx for now just testing
-    extern float quat_mat[4][4];
-    sgPreMultMat4( VIEW, quat_mat);
+    extern float GuiQuat_mat[4][4];
+    sgPreMultMat4( VIEW, GuiQuat_mat);
     // !!!!!!!!!! testing      
 
     // Given a vector pointing straight down (-Z), map into onto the