summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2026-08-24 20:15:21 -0700
committerKai Stevenson <kai@kaistevenson.com>2026-08-24 20:15:21 -0700
commite28f8b4ef5c0744912afd49d8d1ba9a94e144613 (patch)
treea38fe431647834ea21ddd03984e41e5d00c32d50 /src/config.rs
parent3bae37a2d439804aee543473ef9b44f18692a67f (diff)
fixes for small entities
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 17c75b3..67669ab 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -15,3 +15,6 @@ pub const CELLS_TO_METRES: f32 = 20.0;
pub const MASS_SCALING: f32 = 1.0 / 200.0;
pub const SETTLED_THRESOHLD: u8 = 7;
+
+// any entity with fewer cells than this will be turned to particles
+pub const MIN_ENTITY_CELLS: usize = 9;