diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-28 09:52:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-28 09:52:03 +0200 |
commit | 8393fb6cb5798d930ae1e5d34acf56bde3ef2d7d (patch) | |
tree | 1f2e02f468f4831eba869d3518196566dbef7608 | |
parent | 9de8761ec5c31453bb88f88cfacb348a8348d17f (diff) |
d
-rw-r--r-- | main/projection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/projection.cpp b/main/projection.cpp index b7ee01da..8bb28604 100644 --- a/main/projection.cpp +++ b/main/projection.cpp @@ -77,7 +77,7 @@ auto main_impl::get_draw_bounds() const noexcept -> draw_bounds bool floormat_main::check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept { constexpr Vector3d len = dTILE_SIZE * TILE_MAX_DIM20d; - enum : size_t { x, y, }; + enum : uint32_t { x, y, }; constexpr Vector2d p00 = tile_shader::project(Vector3d(0, 0, 0)), p10 = tile_shader::project(Vector3d(len[x], 0, 0)), p01 = tile_shader::project(Vector3d(0, len[y], 0)), @@ -91,4 +91,4 @@ bool floormat_main::check_chunk_visible(const Vector2d& offset, const Vector2i& } -} +} // namespace floormat |