diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-15 20:44:10 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-15 20:44:10 -0700 |
| commit | 05135beb87bbf0edace544b80ba40e327d9a89ac (patch) | |
| tree | 1ec3fc0d3cf041c57273e92ecbe751756c616f67 /src/config.rs | |
| parent | 43cae9ac71f2d6933ba3ea25641585bb88ae60ad (diff) | |
factor code out of main, optimizations
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 4 |
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; |
