]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewer.hxx
Constant-speed props were seeking to engine speed, not prop speed.
[flightgear.git] / src / Main / viewer.hxx
index 26e581387282d053dad9094aa1cd4cfc70d4959b..67a13ee63397fb5b15ab23746c488077d8e219bf 100644 (file)
@@ -5,7 +5,7 @@
 //   partially rewritten by Jim Wilson jim@kelcomaine.com using interface
 //                          by David Megginson March 2002
 //
-// Copyright (C) 1997 - 2000  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 1997 - 2000  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -405,6 +405,12 @@ private:
        _pitch_offset_deg += amt;
     }
 
+    // add to _roll_offset_deg
+    inline void incRollOffset_deg( double amt ) {
+       set_dirty();
+       _roll_offset_deg += amt;
+    }
+
     inline void set_reverse_view_offset( bool val ) {
        _reverse_view_offset = val;
     }