]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a startup offset problem
authorErik Hofman <erik@ehofman.com>
Wed, 4 Aug 2010 08:22:26 +0000 (10:22 +0200)
committerErik Hofman <erik@ehofman.com>
Wed, 4 Aug 2010 08:22:26 +0000 (10:22 +0200)
src/FDM/JSBSim/math/FGLocation.h

index fd41d94f9b3bce75c0d31ef5f742cf2cd86d9e5c..2112557de1e5725353ce3bbc665600530246033c 100644 (file)
@@ -48,7 +48,7 @@ INCLUDES
 DEFINITIONS
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
-#define ID_LOCATION "$Id: FGLocation.h,v 1.22 2010/07/25 22:15:57 jberndt Exp $"
+#define ID_LOCATION "$Id: FGLocation.h,v 1.23 2010/08/04 07:28:21 ehofman Exp $"
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 FORWARD DECLARATIONS
@@ -142,7 +142,7 @@ CLASS DOCUMENTATION
     @see W. C. Durham "Aircraft Dynamics & Control", section 2.2
 
     @author Mathias Froehlich
-    @version $Id: FGLocation.h,v 1.22 2010/07/25 22:15:57 jberndt Exp $
+    @version $Id: FGLocation.h,v 1.23 2010/08/04 07:28:21 ehofman Exp $
   */
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -259,7 +259,7 @@ public:
       Inertial frame.
       @param EPA Earth fixed frame (ECEF) rotation offset about the axis with
                  respect to the Inertial (ECI) frame in radians. */
-  void SetEarthPositionAngle(double EPA) {epa = EPA; /*mCacheValid = false;*/ ComputeDerived();}
+  void SetEarthPositionAngle(double EPA) {epa = EPA; mCacheValid = false; ComputeDerived();}
 
   /** Get the longitude.
       @return the longitude in rad of the location represented with this