summaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs
index a1dd0eb..35ddda7 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -7,6 +7,8 @@ pub const ENTITY_SPEED: f32 = 2.5;
pub const WANDER_DISTANCE: f32 = 150.0;
pub const GOAL_DISTANCE: f32 = 6.0;
+pub const FLOAT_PRECISION: f32 = 0.001;
+
pub const FLIP_H: usize = 0x8000_0000;
pub const FLIP_V: usize = 0x4000_0000;
pub const FLIP_D: usize = 0x2000_0000;