]> git.mxchange.org Git - flightgear.git/commitdiff
Add the Mach vaiable.
authorehofman <ehofman>
Sat, 2 Oct 2004 12:05:59 +0000 (12:05 +0000)
committerehofman <ehofman>
Sat, 2 Oct 2004 12:05:59 +0000 (12:05 +0000)
src/AIModel/AIBallistic.cxx
src/AIModel/AIBallistic.hxx

index 2a9f97e733993674164850c7e873cdb60c6ed249..5bfadf48b403cd9a11166d968b74740795c1060f 100644 (file)
@@ -36,6 +36,7 @@ FGAIBallistic::FGAIBallistic(FGAIManager* mgr) {
     gravity = 32;
 //  buoyancy = 64;
     no_roll = false;
+    Mach = 0.4;
 }
 
 FGAIBallistic::~FGAIBallistic() {
index 82309ea2b8bbb1ec62c613917c4f4cbbe6a720b9..83231bcf3e8b4300649bbdff1552964750f336b5 100644 (file)
@@ -67,6 +67,7 @@ private:
     bool wind;              // if true, local wind will be applied to object
     double Cd;              // drag coefficient
     double mass;            // slugs
+    double Mach;
 
     void Run(double dt);
 };