]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sky/cloud.cxx
Tweaks to follow flightgear STL standard coding procedure.
[simgear.git] / simgear / sky / cloud.cxx
index 0b439771871d91d5a2aadffe959cc98c9b073ad4..78bde43cad524ff33a5940be86013e514a9a0fc8 100644 (file)
 #  include <config.h>
 #endif
 
+#include <simgear/compiler.h>
+
 #include <stdio.h>
-#include <iostream>
+#include STL_IOSTREAM
 
 #include <plib/sg.h>
 #include <plib/ssg.h>
 
-#include <simgear/math/fg_random.h>
 #include <simgear/math/point3d.hxx>
 #include <simgear/math/polar3d.hxx>
+#include <simgear/math/sg_random.h>
 
 #include "cloud.hxx"
 
@@ -70,7 +72,7 @@ void SGCloudLayer::build( double s, double asl, double thickness,
 
     sgSetVec3( vertex, -size, -size, 0.0f );
     sgVec2 base;
-    sgSetVec2( base, fg_random(), fg_random() );
+    sgSetVec2( base, sg_random(), sg_random() );
     sgSetVec2( tc, base[0], base[1] );
     cl->add( color );
     vl->add( vertex );