From 8bd8d5f16304419dda31dd83aef30c6b88e7cd47 Mon Sep 17 00:00:00 2001 From: Henning Stahlke Date: Mon, 24 Apr 2017 00:08:36 +0200 Subject: [PATCH] YASim Model move one-liner to header. --- src/FDM/YASim/Model.cpp | 5 ----- src/FDM/YASim/Model.hpp | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/FDM/YASim/Model.cpp b/src/FDM/YASim/Model.cpp index 3062986e0..d3ef8e95b 100644 --- a/src/FDM/YASim/Model.cpp +++ b/src/FDM/YASim/Model.cpp @@ -203,11 +203,6 @@ void Model::setGroundEffect(const float* pos, float span, float mul) _groundEffect = mul; } -void Model::setStandardAtmosphere(float altitude) -{ - _atmo.setStandard(altitude); -} - void Model::updateGround(State* s) { float dummy[3]; diff --git a/src/FDM/YASim/Model.hpp b/src/FDM/YASim/Model.hpp index eee142c22..00755b44d 100644 --- a/src/FDM/YASim/Model.hpp +++ b/src/FDM/YASim/Model.hpp @@ -70,7 +70,7 @@ public: void setGroundEffect(const float* pos, float span, float mul); void setWind(float* wind) { Math::set3(wind, _wind); } void setAtmosphere(Atmosphere a) { _atmo = a; }; - void setStandardAtmosphere(float altitude); + void setStandardAtmosphere(float altitude) { _atmo.setStandard(altitude); }; void updateGround(State* s);