From 05135beb87bbf0edace544b80ba40e327d9a89ac Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sat, 15 Aug 2026 20:44:10 -0700 Subject: factor code out of main, optimizations --- src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 54ec6b5..fc3e341 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,6 +1,8 @@ pub const WINDOW_TITLE: &str = "pxs"; -pub const CHUNK_SIZE: i32 = 32; +pub const CHUNK_SIZE: i32 = 128; 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; -- cgit v1.3.1