]> git.mxchange.org Git - flightgear.git/blobdiff - src/WeatherCM/FGWindItem.h
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / WeatherCM / FGWindItem.h
index 80c6f9f98dc36beb6bbeb93d3979a5fc5c78d049..9aa6ab39577d9c6b29a72b51960429a203214ebd 100644 (file)
@@ -54,7 +54,7 @@ HISTORY
 #  include <config.h>
 #endif
 
-#include <Include/compiler.h>
+#include <simgear/compiler.h>
 
 #ifdef HAVE_WINDOWS_H
 #  include <windows.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);