// 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" );
}