diff options
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, |
