diff options
Diffstat (limited to 'src/search.hpp')
-rw-r--r-- | src/search.hpp | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/search.hpp b/src/search.hpp index 024c8613..b70dc049 100644 --- a/src/search.hpp +++ b/src/search.hpp @@ -6,28 +6,16 @@ #include "search-pred.hpp" #include <array> -namespace floormat { -class world; -struct object; -class chunk; -} // namespace floormat - -// todo add pathfinding sub-namespace - namespace floormat::Search { - template<typename T> struct bbox; struct cache; -struct chunk_cache; -constexpr inline int div_factor = 4; -constexpr inline auto div_size = iTILE_SIZE2 / div_factor; -constexpr inline auto min_size = Vector2ui(div_size * 2); -constexpr inline auto div_count = iTILE_SIZE2 * TILE_MAX_DIM / Search::div_size; - } // namespace floormat::Search namespace floormat { +class world; +struct object; +class chunk; struct path_search_result; class path_search final |