From bf1e7c78812ca6858eefe64f161f96e4625c85fa Mon Sep 17 00:00:00 2001 From: david Date: Thu, 18 Jul 2002 22:32:32 +0000 Subject: [PATCH] Patch from Cameron Moore: * Rearranged member initializers --- src/Main/viewer.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Main/viewer.cxx b/src/Main/viewer.cxx index 4b77efb8c..538afa9a3 100644 --- a/src/Main/viewer.cxx +++ b/src/Main/viewer.cxx @@ -132,8 +132,6 @@ static void MakeVIEW_OFFSET( sgMat4 dst, // Constructor FGViewer::FGViewer( fgViewType Type, bool from_model, int from_model_index, bool at_model, int at_model_index, double x_offset_m, double y_offset_m, double z_offset_m, double near_m ): - _scaling_type(FG_SCALING_MAX), - _fov_deg(55.0), _dirty(true), _lon_deg(0), _lat_deg(0), @@ -144,11 +142,13 @@ FGViewer::FGViewer( fgViewType Type, bool from_model, int from_model_index, bool _roll_deg(0), _pitch_deg(0), _heading_deg(0), - _heading_offset_deg(0), - _pitch_offset_deg(0), _roll_offset_deg(0), + _pitch_offset_deg(0), + _heading_offset_deg(0), + _goal_pitch_offset_deg(0.0), _goal_heading_offset_deg(0.0), - _goal_pitch_offset_deg(0.0) + _scaling_type(FG_SCALING_MAX), + _fov_deg(55.0) { sgdZeroVec3(_absolute_view_pos); _type = Type; -- 2.39.5