#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"
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 );
// Rotate to proper orientation
// printf(" lon = %.2f lat = %.2f\n",
- // FG_Longitude * SGD_RADIANS_TO_DEGREES,
- // FG_Latitude * SGD_RADIANS_TO_DEGREES);
- // xglRotatef( f->get_Longitude() * SGD_RADIANS_TO_DEGREES, 0.0, 0.0, 1.0 );
+ // lon * SGD_RADIANS_TO_DEGREES,
+ // lat * SGD_RADIANS_TO_DEGREES);
+ // xglRotatef( lon * SGD_RADIANS_TO_DEGREES, 0.0, 0.0, 1.0 );
sgSetVec3( axis, 0.0, 0.0, 1.0 );
sgMakeRotMat4( LON, lon * SGD_RADIANS_TO_DEGREES, axis );