From 1d91468ddc429d51cbe6008bd5d839098f3a74c6 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Wed, 4 Aug 2010 10:22:26 +0200 Subject: [PATCH] Fix a startup offset problem --- src/FDM/JSBSim/math/FGLocation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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