1
0
Fork 0

YASim Model move one-liner to header.

This commit is contained in:
Henning Stahlke 2017-04-24 00:08:36 +02:00
parent 3457c3c61f
commit 8bd8d5f163
2 changed files with 1 additions and 6 deletions

View file

@ -203,11 +203,6 @@ void Model::setGroundEffect(const float* pos, float span, float mul)
_groundEffect = mul; _groundEffect = mul;
} }
void Model::setStandardAtmosphere(float altitude)
{
_atmo.setStandard(altitude);
}
void Model::updateGround(State* s) void Model::updateGround(State* s)
{ {
float dummy[3]; float dummy[3];

View file

@ -70,7 +70,7 @@ public:
void setGroundEffect(const float* pos, float span, float mul); void setGroundEffect(const float* pos, float span, float mul);
void setWind(float* wind) { Math::set3(wind, _wind); } void setWind(float* wind) { Math::set3(wind, _wind); }
void setAtmosphere(Atmosphere a) { _atmo = a; }; void setAtmosphere(Atmosphere a) { _atmo = a; };
void setStandardAtmosphere(float altitude); void setStandardAtmosphere(float altitude) { _atmo.setStandard(altitude); };
void updateGround(State* s); void updateGround(State* s);