1 /*******************************************************************************
3 Module: FGAuxiliary.cpp
6 Purpose: Calculates additional parameters needed by the visual system, etc.
9 ------------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) -------------
11 This program is free software; you can redistribute it and/or modify it under
12 the terms of the GNU General Public License as published by the Free Software
13 Foundation; either version 2 of the License, or (at your option) any later
16 This program is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21 You should have received a copy of the GNU General Public License along with
22 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
23 Place - Suite 330, Boston, MA 02111-1307, USA.
25 Further information about the GNU General Public License can also be found on
26 the world wide web at http://www.gnu.org.
28 FUNCTIONAL DESCRIPTION
29 --------------------------------------------------------------------------------
30 This class calculates various auxiliary parameters, mostly used by the visual
34 --------------------------------------------------------------------------------
37 ********************************************************************************
39 *******************************************************************************/
41 #include "FGAuxiliary.h"
42 #include "FGTranslation.h"
43 #include "FGRotation.h"
44 #include "FGAtmosphere.h"
46 #include "FGFDMExec.h"
48 #include "FGAircraft.h"
49 #include "FGPosition.h"
52 /*******************************************************************************
53 ************************************ CODE **************************************
54 *******************************************************************************/
56 FGAuxiliary::FGAuxiliary(FGFDMExec* fdmex) : FGModel(fdmex)
62 FGAuxiliary::~FGAuxiliary()
67 bool FGAuxiliary::Run()
69 if (!FGModel::Run()) {