diff options
| author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-11 13:18:59 +0100 |
|---|---|---|
| committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-11 13:18:59 +0100 |
| commit | 405bf73b273c7b9a6574d77b4a034d9588c9af1b (patch) | |
| tree | 4f25ed279519c47d665bcaaaa399962c4fbd7408 /src/crepe/api/AI.h | |
| parent | 543dc375228b520605bb099bc95a23918f75e9f8 (diff) | |
Removed magic numbers
Diffstat (limited to 'src/crepe/api/AI.h')
| -rw-r--r-- | src/crepe/api/AI.h | 3 |
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 |