X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGWindItem.h;h=9aa6ab39577d9c6b29a72b51960429a203214ebd;hb=a4e81f4ff075e6a3c0c2ea1b5a29c0bcdfdbc671;hp=0a745e02c2ca4385797ef515db5061f3e28efc18;hpb=4c0f52af839e2b831fef3f38e19df9e8824bfd3f;p=flightgear.git diff --git a/src/WeatherCM/FGWindItem.h b/src/WeatherCM/FGWindItem.h index 0a745e02c..9aa6ab395 100644 --- a/src/WeatherCM/FGWindItem.h +++ b/src/WeatherCM/FGWindItem.h @@ -54,13 +54,13 @@ HISTORY # include #endif -#include +#include #ifdef HAVE_WINDOWS_H # include #endif -#include +#include #include "FGWeatherDefs.h" @@ -99,6 +99,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; }; + FGWindItem& operator*= (const WeatherPrecision arg); FGWindItem& operator+= (const FGWindItem& arg); FGWindItem& operator-= (const FGWindItem& arg);