#include STL_STRING
SG_USING_STD(string);
+// #include <iostream>
+// SG_USING_STD(cout);
+// SG_USING_STD(endl);
+
/**
* A class layer to model a single cloud layer
* set the cloud movement direction
* @param dir the cloud movement direction
*/
- inline void setDirection(float dir) { direction = dir; }
+ inline void setDirection(float dir) {
+ // cout << "cloud dir = " << dir << endl;
+ direction = dir;
+ }
/** get the cloud movement direction */
inline float getDirection() { return direction; }
* set the cloud movement speed
* @param sp the cloud movement speed
*/
- inline void setSpeed(float sp) { speed = sp; }
+ inline void setSpeed(float sp) {
+ // cout << "cloud speed = " << sp << endl;
+ speed = sp;
+ }
/** get the cloud movement speed */
inline float getSpeed() { return speed; }
// from winds, and to simulate the clouds being tied to ground
// position, not view position
// double xoff, yoff;
- double last_lon, last_lat;
-
+ double last_lon, last_lat, last_course;
};