]> git.mxchange.org Git - flightgear.git/commitdiff
Vivian Meazza:
authorehofman <ehofman>
Sat, 2 Oct 2004 14:30:18 +0000 (14:30 +0000)
committerehofman <ehofman>
Sat, 2 Oct 2004 14:30:18 +0000 (14:30 +0000)
I've made appropriate changes to Readme.submodels to reflect the
variation of Cd with Mach number.

Spitfire.submodel has been changed to use the variation of Cd with Mach
number

Submodel.cxx has been changed so that the default value of Cd is the
subsonic Cd of a non-boat tailed bullet.

src/Systems/submodel.cxx

index 2e4ee7b7a26a771f8a6408b33b7d879b19f703d1..e35d6554e35561541afdbacc0b1a245500cbce25 100644 (file)
@@ -182,9 +182,9 @@ SubmodelSystem::load ()
      sm->buoyancy       = entry_node->getDoubleValue("buoyancy", 0);
      sm->wind           = entry_node->getBoolValue  ("wind", false); 
      sm->first_time     = false;
-     sm->cd             = entry_node->getDoubleValue("cd", 0.295);
+     sm->cd             = entry_node->getDoubleValue("cd", 0.193);
      sm->weight         = entry_node->getDoubleValue("weight", 0.25);
-     sm->contents_node    = fgGetNode(entry_node->getStringValue("contents", "none"), true);
+     sm->contents_node  = fgGetNode(entry_node->getStringValue("contents", "none"), true);
 
      sm->trigger->setBoolValue(false);
      sm->timer = sm->delay;