diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 05:21:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 05:21:28 +0100 |
commit | d440fc5e6c82312bc07da211ac9489b756307c9d (patch) | |
tree | 4ec339ca7fb2dc250f859a9b40bcb7aadf389be8 /editor/tests | |
parent | db09342af865ac5df7d4c35f25115ed39fbd0ddd (diff) |
clean up more bbox usages
Diffstat (limited to 'editor/tests')
-rw-r--r-- | editor/tests/region-test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/tests/region-test.cpp b/editor/tests/region-test.cpp index b7aca098..6c0fea07 100644 --- a/editor/tests/region-test.cpp +++ b/editor/tests/region-test.cpp @@ -1,8 +1,9 @@ #include "../tests-private.hpp" #include "src/tile-constants.hpp" #include "src/chunk.hpp" -#include "src/path-search.hpp" +#include "src/path-search-bbox.hpp" #include "src/object.hpp" +#include "src/world.hpp" #include "../app.hpp" #include "../imgui-raii.hpp" #include "floormat/main.hpp" @@ -20,7 +21,7 @@ namespace { using namespace floormat::imgui; using detail_astar::div_factor; using detail_astar::div_size; -template<typename T> using bbox = typename path_search::bbox<T>; +using detail_astar::bbox; static_assert((iTILE_SIZE2 % div_size).isZero()); constexpr auto div_count = iTILE_SIZE2 * TILE_MAX_DIM / div_size; |