|
|
|
|
@ -137,7 +137,8 @@ void drawSystemWindow(system_2body& sys, bool& running)
|
|
|
|
|
|
|
|
|
|
ImGui::Text("time_step:"); |
|
|
|
|
ImGui::SameLine(); |
|
|
|
|
ImGui::InputDouble("##", &sys.time_step, 1); |
|
|
|
|
ImGui::InputDouble("##", &sys.time_step, 5); |
|
|
|
|
|
|
|
|
|
ImGui::Text("epsilon, spec. orb. energy: %f", sys.epsilon); |
|
|
|
|
ImGui::Text("h, angular momentum: %f", sys.h); |
|
|
|
|
ImGui::Text("r_apoapsis: %f", sys.r_apoapsis); |
|
|
|
|
|