From 405bf73b273c7b9a6574d77b4a034d9588c9af1b Mon Sep 17 00:00:00 2001 From: max-001 Date: Wed, 11 Dec 2024 13:18:59 +0100 Subject: Removed magic numbers --- src/crepe/api/AI.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/crepe/api/AI.h') 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 -- cgit v1.2.3