X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FflightProperties.hxx;h=93531b3e2fdd38ead61cdf755f4f187a6b7eb075;hb=de38157916ac06e19c47fd3b596ec18329771ed1;hp=de960848fc76f4c092deb1aafd240b630cf3d033;hpb=180e524a0e64c95767fd4003f59b4e3c314303c7;p=flightgear.git diff --git a/src/FDM/flightProperties.hxx b/src/FDM/flightProperties.hxx index de960848f..93531b3e2 100644 --- a/src/FDM/flightProperties.hxx +++ b/src/FDM/flightProperties.hxx @@ -1,7 +1,33 @@ +// flightProperties.hxx -- expose FDM properties via helper methods +// +// Written by James Turner, started June 2010. +// +// Copyright (C) 2010 Curtis L. Olson - http://www.flightgear.org/~curt +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// $Id$ + #ifndef FG_FLIGHT_PROPERTIES_HXX #define FG_FLIGHT_PROPERTIES_HXX -#include +#ifdef HAVE_CONFIG_H +# include +#endif + +#include #include // for SGVec3d #include @@ -93,7 +119,7 @@ public: void set_Climb_Rate(double fps); void set_Velocities_Local(double x, double y, double z); - void set_Velocities_Wind_Body(double x, double y, double z); + void set_Velocities_Body(double x, double y, double z); void set_Accels_Pilot_Body(double x, double y, double z); private: SGPropertyNode* _root;