From: Erik Hofman Date: Wed, 4 Aug 2010 08:22:26 +0000 (+0200) Subject: Fix a startup offset problem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d91468ddc429d51cbe6008bd5d839098f3a74c6;p=flightgear.git Fix a startup offset problem --- diff --git a/src/FDM/JSBSim/math/FGLocation.h b/src/FDM/JSBSim/math/FGLocation.h index fd41d94f9..2112557de 100644 --- a/src/FDM/JSBSim/math/FGLocation.h +++ b/src/FDM/JSBSim/math/FGLocation.h @@ -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