aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AI.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-11 13:18:59 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-11 13:18:59 +0100
commit405bf73b273c7b9a6574d77b4a034d9588c9af1b (patch)
tree4f25ed279519c47d665bcaaaa399962c4fbd7408 /src/crepe/api/AI.h
parent543dc375228b520605bb099bc95a23918f75e9f8 (diff)
Removed magic numbers
Diffstat (limited to 'src/crepe/api/AI.h')
-rw-r--r--src/crepe/api/AI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/api/AI.h b/src/crepe/api/AI.h
index 80feda5..fc28451 100644
--- a/src/crepe/api/AI.h
+++ b/src/crepe/api/AI.h
@@ -116,6 +116,9 @@ private:
//! The AISystem is the only class that should access the flags and path_index variables
friend class AISystem;
+
+ static constexpr const int MIN_STEP = 16;
+ static constexpr const float RADIUS_TO_STEP = 400.0f;
};
} // namespace crepe