diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-10 03:48:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-10 03:48:18 +0200 |
commit | 21356ba6adc4df6d56569d4e659fa5eb1ff180e5 (patch) | |
tree | 7c5f664cc9e4886872dd7f792c3e05f8bf4f7971 /test | |
parent | c8c99448c061508a4f40a315c4a71934971e6b54 (diff) |
move chunk_coords_ conversion to chunk3() member function
Diffstat (limited to 'test')
-rw-r--r-- | test/dijkstra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |