Skip to content

Commit

Permalink
Tweak of commented debug code in UllageModule
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed Jul 21, 2015
1 parent c939898 commit c9f8c1e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Source/Ullage/UllageModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,15 @@ public void FixedUpdate()
}

// Update ullage sims
UllageSet set;
//StringBuilder str = new StringBuilder("Ullage states: ");
for (int i = ullageSets.Count - 1; i >= 0; --i)
{
ullageSets[i].Update(accel, angVel, TimeWarp.fixedDeltaTime, ventingAcceleration);
/*str.Append(ullageSets[i].Engine());
set = ullageSets[i];
set.Update(accel, angVel, TimeWarp.fixedDeltaTime, ventingAcceleration);
/*str.Append(set.Engine());
str.Append(" is ");
str.Append(ullageSets[i].GetUllageStability().ToString("N4"));
str.Append(set.GetUllageStability().ToString("N4"));
str.Append("\n");*/
}
//print(str);
Expand Down

0 comments on commit c9f8c1e

Please sign in to comment.