From 940e692d5b24f40147dc92c2dc23ce74c3d5ab7f Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sun, 16 Aug 2026 10:53:45 -0700 Subject: small refactor to update loops and timing --- src/config.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index fc3e341..6a9d392 100644 --- a/src/config.rs +++ b/src/config.rs @@ -6,3 +6,6 @@ pub const CELLS_IN_CHUNK: usize = (CHUNK_SIZE * CHUNK_SIZE) as usize; pub const CAMERA_MOVEMENT_SPEED: f32 = 40.0; pub const SIM_FPS: u32 = 120; +pub const SIM_DELTA_TIME: f32 = 1.0 / SIM_FPS as f32; +pub const PHYSICS_FPS: u32 = 60; +pub const PHYSICS_DELTA_TIME: f32 = 1.0 / PHYSICS_FPS as f32; -- cgit v1.3.1