diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 20:26:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 20:37:25 +0100 |
commit | 22949e3a9c8136b23d184b3bf8b5e5cbc234ab2f (patch) | |
tree | d45b6654a4f090cd1ef42dd149bc615c17791746 | |
parent | 4cbfe3fd3ee76e50c6e2a5ebc59c731ecae670f3 (diff) |
fix clang warning
-rw-r--r-- | src/chunk-region.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chunk-region.cpp b/src/chunk-region.cpp index 6640758c..253c1d4f 100644 --- a/src/chunk-region.cpp +++ b/src/chunk-region.cpp @@ -19,8 +19,7 @@ static_assert((iTILE_SIZE2 % div_size).isZero()); constexpr auto chunk_bits = div_count.product(), visited_bits = div_count.product()*4*4; -constexpr auto div_min = -iTILE_SIZE2/2 + div_size/2, - div_max = iTILE_SIZE2 * TILE_MAX_DIM - iTILE_SIZE2/2 - div_size + div_size/2; +constexpr auto div_min = -iTILE_SIZE2/2 + div_size/2; constexpr bbox<Int> bbox_from_pos1(Vector2i center) { |