diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-17 19:31:31 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-17 19:31:31 -0700 |
| commit | 4ad69d966f0640daae34c677eead5b689cbfac2e (patch) | |
| tree | e80de1972ac02660b27ef6f46434caa388f41761 /src/main.rs | |
| parent | 7f1b0b16ad51afd46b4f8fe2ba209c4bd94391ba (diff) | |
debug physics
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 043d125..3452065 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ use crate::{ sim::{ cell::{cell::Cell, materials::MaterialId}, cell_sim::{sim::sim_tick, world::World}, - rb_sim::RbSimManager, + rb_sim::{DebugRenderMode, RbSimManager}, write_rb_entity_to_world, }, }; @@ -38,6 +38,8 @@ struct Config { brush_material: MaterialId, dropper_material: MaterialId, use_threading: bool, + debug_render: bool, + debug_render_mode: DebugRenderMode, } struct Input { @@ -230,6 +232,8 @@ impl Default for App { brush_radius: 10.0, brush_material: MaterialId::Sand, dropper_material: MaterialId::Sand, + debug_render: true, + debug_render_mode: DebugRenderMode::default(), }, diagnostics: Diagnostics { fps: 0.0, |
