summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/path-search-dijkstra.cpp3
-rw-r--r--test/path-search.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/path-search-dijkstra.cpp b/src/path-search-dijkstra.cpp
index 848f156a..5a9356f2 100644
--- a/src/path-search-dijkstra.cpp
+++ b/src/path-search-dijkstra.cpp
@@ -12,11 +12,8 @@ template<typename T> using bbox = path_search::bbox<T>;
namespace {
constexpr auto chunk_size = iTILE_SIZE2 * TILE_MAX_DIM;
-constexpr auto div = Vector2i(path_search::subdivide_factor);
constexpr auto div_size = path_search::div_size;
constexpr auto min_size = path_search::min_size;
-constexpr auto tile_start = Vector2i(iTILE_SIZE2/-2);
-constexpr auto inf =- (uint32_t)-1;
template<typename T>
requires std::is_arithmetic_v<T>
diff --git a/test/path-search.cpp b/test/path-search.cpp
index c91bb6cb..b2a50524 100644
--- a/test/path-search.cpp
+++ b/test/path-search.cpp
@@ -111,9 +111,6 @@ constexpr bool test_offsets2()
struct neighbors final
{
- auto begin() const { return data.data(); }
- auto end() const { return data.data() + size; }
-
std::array<global_coords, 5> data;
uint8_t size = 0;
};