From 21356ba6adc4df6d56569d4e659fa5eb1ff180e5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 10 Oct 2023 03:48:18 +0200 Subject: move chunk_coords_ conversion to chunk3() member function --- test/dijkstra.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp index 7f2fc38b..301257b1 100644 --- a/test/dijkstra.cpp +++ b/test/dijkstra.cpp @@ -13,7 +13,7 @@ void test_app::test_dijkstra() constexpr auto wcx = 1, wcy = 1, wtx = 8, wty = 8, wox = 3, woy = 3; constexpr auto max_dist = (uint32_t)(Vector2i(Math::abs(wcx)+1, Math::abs(wcy)+1)*TILE_MAX_DIM*iTILE_SIZE2).length(); - constexpr auto wch = chunk_coords_{chunk_coords_{wcx, wcy, 0}}; + constexpr auto wch = chunk_coords_{wcx, wcy, 0}; constexpr auto wt = local_coords{wtx, wty}; constexpr auto wpos = global_coords{wch, wt}; -- cgit v1.2.3