]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBallistic.hxx
Set the format default to float instead of int.
[flightgear.git] / src / AIModel / AIBallistic.hxx
index bc97ced2cac99b95cbf8d8717bc73d2bbb16ea24..82309ea2b8bbb1ec62c613917c4f4cbbe6a720b9 100644 (file)
@@ -1,4 +1,4 @@
-// FGAIBallistic - AIBase derived class creates an AI ballistic object
+// FGAIBallistic.hxx - AIBase derived class creates an AI ballistic object
 //
 // Written by David Culp, started November 2003.
 // - davidculp2@comcast.net
@@ -47,7 +47,7 @@ public:
     void setWind_from_north( double fps );
     void setWind( bool val );
     void setCd( double c );
-    void setWeight( double w );
+    void setMass( double m );
 
     double _getTime() const;
 
@@ -66,9 +66,10 @@ private:
     double wind_from_north; // fps
     bool wind;              // if true, local wind will be applied to object
     double Cd;              // drag coefficient
-    double weight;          // lbs
+    double mass;            // slugs
 
     void Run(double dt);
 };
 
 #endif  // _FG_AIBALLISTIC_HXX
+