Browse Source

start the graphical simulation in paused mode

main
cinnaboot 5 months ago
parent
commit
ca8d466b00
  1. 3
      src/main.cpp

3
src/main.cpp

@ -37,6 +37,7 @@ void run_gui_simulation(SimulationState* sim) {
RenderState render_state;
setup_camera(&render_state);
// FIXME: too verbose, and/or should be an init function
UIState ui_state;
ui_state.body_list_scroll = 0;
ui_state.body_list_active = -1;
@ -85,7 +86,7 @@ void run_gui_simulation(SimulationState* sim) {
ui_state.body_list_active = root_body_index >= 0 ? root_body_index : -1; // Sync with selected body
gui_init();
bool paused = false;
bool paused = true;
double speed_multiplier = 32.0;
double min_multiplier = 1.0;
int physics_steps_per_frame = 1;

Loading…
Cancel
Save