X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGTurbulenceItem.h;h=1afabd95525e2c19ceddfac9b22293c60c89b702;hb=7d3448294bc7486af3f4c1f0ff5c8493b03ffc90;hp=0c6b2ae93f99c398c9a32a280bef4ebed6d85b47;hpb=095c069b3966c251b8554d8c2b76d74ff30f9621;p=flightgear.git diff --git a/src/WeatherCM/FGTurbulenceItem.h b/src/WeatherCM/FGTurbulenceItem.h index 0c6b2ae93..1afabd955 100644 --- a/src/WeatherCM/FGTurbulenceItem.h +++ b/src/WeatherCM/FGTurbulenceItem.h @@ -54,7 +54,7 @@ HISTORY # include #endif -#include +#include #ifdef HAVE_WINDOWS_H # include @@ -96,6 +96,10 @@ public: WeatherPrecision y(void) const { return value[1]; }; WeatherPrecision z(void) const { return value[2]; }; + void x(const WeatherPrecision x) { value[0] = x; }; + void y(const WeatherPrecision y) { value[1] = y; }; + void z(const WeatherPrecision z) { value[2] = z; }; + FGTurbulenceItem& operator*= (const WeatherPrecision arg); FGTurbulenceItem& operator+= (const FGTurbulenceItem& arg); FGTurbulenceItem& operator-= (const FGTurbulenceItem& arg);