]> git.mxchange.org Git - flightgear.git/blobdiff - src/Viewer/viewmgr.hxx
viewmgr: stash properties for better performance
[flightgear.git] / src / Viewer / viewmgr.hxx
index 587ac9f281374f5c3b68c3a198361092b60be8e2..0a7833ea0b1d267320ef00af339a3c6f981cab3a 100644 (file)
@@ -148,6 +148,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