#ifndef _CLOUDFIELD_HXX
#define _CLOUDFIELD_HXX
-#include <plib/sg.h>
#include <simgear/compiler.h>
#include <vector>
#include <simgear/misc/sg_path.hxx>
#include <simgear/structure/Singleton.hxx>
-#include <Simgear/math/SGMath.hxx>
+#include <simgear/math/SGMath.hxx>
using std::vector;
class Cloud {
public:
SGNewCloud *aCloud;
- sgVec3 pos;
+ SGVec3f pos;
bool visible;
};
static const int QUADTREE_SIZE = 32;
// this is a relative position only, with that we can move all clouds at once
- sgVec3 relative_position;
+ SGVec3f relative_position;
// double lon, lat;
osg::ref_ptr<osg::Group> field_root;
double deltax, deltay, alt;
double last_course;
- sgSphere field_sphere;
float last_coverage;
float coverage;
SGGeoc cld_pos;
// visibility distance for clouds in meters
static float CloudVis;
- static sgVec3 view_vec, view_X, view_Y;
+ static SGVec3f view_vec, view_X, view_Y;
static float view_distance;
static double timer_dt;