]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBallistic.hxx
Interim windows build fix
[flightgear.git] / src / AIModel / AIBallistic.hxx
index 01f08f87c1e373649ffc2e57d938a4bce6b02f37..7abe4f2cda7b124f4175234a4c28eb0723647a6a 100644 (file)
@@ -51,6 +51,8 @@ public:
 
     void setAzimuth( double az );
     void setElevation( double el );
+    void setAzimuthRandomError(double error);
+    void setElevationRandomError(double error);
     void setRoll( double rl );
     void setStabilisation( bool val );
     void setDragArea( double a );
@@ -169,13 +171,16 @@ public:
 
 private:
 
+    double _az_random_error; // maximum azimuth error in degrees
+    double _el_random_error; // maximum elevation error in degrees
     bool   _aero_stabilised; // if true, object will align with trajectory
     double _drag_area;       // equivalent drag area in ft2
-    double _buoyancy;        // fps^2
-    bool   _wind;            // if true, local wind will be applied to object
-    double _cd;              // drag coefficient
+    double _cd;              // current drag coefficient
+    double _init_cd;         // initial drag coefficient
     double _cd_randomness;   // randomness of Cd. 1.0 means +- 100%, 0.0 means no randomness
+    double _buoyancy;        // fps^2
     double _life_timer;      // seconds
+    bool   _wind;            // if true, local wind will be applied to object
     double _mass;            // slugs
     bool   _random;          // modifier for Cd, life, az
     double _life_randomness; // dimension for _random, only applies to life at present