]> git.mxchange.org Git - simgear.git/blobdiff - simgear/environment/visual_enviro.hxx
Random object support from Stuart Buchanan
[simgear.git] / simgear / environment / visual_enviro.hxx
index 1c901b098734cb9005cd78ac70264463c75b2934..4ee2d7f39ec6f6fb65ad0094512670f0ab9bfb47 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _VISUAL_ENVIRO_HXX
 #define _VISUAL_ENVIRO_HXX
 
+#include <plib/sg.h>
+
 #include <simgear/compiler.h>
 #include STL_STRING
 #include <vector>
@@ -38,7 +40,8 @@ class SGSoundMgr;
  */
 class SGWxRadarEcho {
 public:
-       SGWxRadarEcho(float _heading, float _alt, float _radius, float _dist, double _LWC, bool _lightning, int _cloudId) :
+       SGWxRadarEcho(float _heading, float _alt, float _radius, float _dist,
+                       double _LWC, bool _lightning, int _cloudId ) :
          heading( _heading ),
          alt ( _alt ),
          radius ( _radius ),
@@ -54,7 +57,7 @@ public:
        /** reflectivity converted to liquid water content. */
        double LWC;
        /** if true then this data is for a lightning else it is for water echo. */
-       bool   lightning;
+       bool lightning;
        /** Unique identifier of cloud */
        int cloudId;
 };