From: ehofman Date: Sat, 2 Oct 2004 14:30:18 +0000 (+0000) Subject: Vivian Meazza: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6176ec7ef7a7cce26d36235821f511333d97dfe;p=flightgear.git Vivian Meazza: 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. --- diff --git a/src/Systems/submodel.cxx b/src/Systems/submodel.cxx index 2e4ee7b7a..e35d6554e 100644 --- a/src/Systems/submodel.cxx +++ b/src/Systems/submodel.cxx @@ -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;