]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGRotation.h
- fixed fuel-need calculations
[flightgear.git] / src / FDM / JSBSim / FGRotation.h
index 3952a4f395f7cae2294deaf59eef9db0c3e94e3c..50989e8efb81d5f3db9045fbceba8a83d8309a4d 100644 (file)
@@ -97,6 +97,9 @@ public:
   inline FGColumnVector3& GetEulerRates(void) { return vEulerRates; }
   inline double GetEulerRates(int axis) { return vEulerRates(axis); }
   inline void SetPQR(FGColumnVector3 tt) {vPQR = tt;}
+  inline void SetPQR(double p, double q, double r) {vPQR(eP)=p;
+                                                    vPQR(eQ)=q;
+                                                    vPQR(eR)=r;}
   inline void SetEuler(FGColumnVector3 tt) {vEuler = tt;}
   
   inline double Getphi(void) {return vEuler(1);}