summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2026-08-15 20:44:10 -0700
committerKai Stevenson <kai@kaistevenson.com>2026-08-15 20:44:10 -0700
commit05135beb87bbf0edace544b80ba40e327d9a89ac (patch)
tree1ec3fc0d3cf041c57273e92ecbe751756c616f67 /src/config.rs
parent43cae9ac71f2d6933ba3ea25641585bb88ae60ad (diff)
factor code out of main, optimizations
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 3 insertions, 1 deletions
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;