X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FViewer%2Fviewmgr.hxx;h=b8711be8c73046aa5edf5ca4519e03865a37b257;hb=b76d255d824d434a042aa1f3aab7a855ff0e1341;hp=587ac9f281374f5c3b68c3a198361092b60be8e2;hpb=4456f42e673330238a341e9be079e0d57222dbf9;p=flightgear.git diff --git a/src/Viewer/viewmgr.hxx b/src/Viewer/viewmgr.hxx index 587ac9f28..b8711be8c 100644 --- a/src/Viewer/viewmgr.hxx +++ b/src/Viewer/viewmgr.hxx @@ -53,7 +53,8 @@ public: virtual void unbind (); virtual void update (double dt); virtual void reinit (); - + virtual void shutdown(); + // getters inline int size() const { return views.size(); } inline int get_current() const { return current; } @@ -148,6 +149,9 @@ private: int current; SGQuatd current_view_orientation, current_view_or_offset; + + SGPropertyNode_ptr current_x_offs, current_y_offs, current_z_offs; + SGPropertyNode_ptr target_x_offs, target_y_offs, target_z_offs; }; // This takes the conventional aviation XYZ body system