From 4ad69d966f0640daae34c677eead5b689cbfac2e Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Mon, 17 Aug 2026 19:31:31 -0700 Subject: debug physics --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.rs') 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, -- cgit v1.3.1