]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewer.cxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / Main / viewer.cxx
index 4b70193e1f354062aa1bb0f587928c349ab89e02..8c75ed84851e445a50fc80d8c7067c5bf608566a 100644 (file)
 
 
 // Constructor
-FGViewer::FGViewer( void )
+FGViewer::FGViewer( void ):
+    fov(55.0),
+    view_offset(0.0),
+    goal_view_offset(0.0)
 {
+    sgSetVec3( pilot_offset, 0.0, 0.0, 0.0 );
 }
 
 
 // Update the view parameters
 void FGViewer::update() {
-    FG_LOG( FG_VIEW, FG_ALERT, "Shouldn't ever see this" );
-    exit(-1);
+    SG_LOG( SG_VIEW, SG_ALERT, "Shouldn't ever see this" );
 }