diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-02 03:23:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-02 03:23:05 +0200 |
commit | 35cf1d65b454985c38b1e00a91670663b1583670 (patch) | |
tree | 1e47893775fbea27a79bf799fb99360b954a85ca /tile.cpp | |
parent | 5ec89ae3a42308dd5e43e5fed207824918123023 (diff) |
a
Diffstat (limited to 'tile.cpp')
-rw-r--r-- | tile.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,12 @@ #include "tile.hpp" + #include "tile-atlas.hpp" namespace Magnum::Examples { +local_coords::local_coords(std::size_t x, std::size_t y) : x{(std::uint8_t)x}, y{(std::uint8_t)y} +{ + CORRADE_INTERNAL_ASSERT(x <= 0xff && y <= 0xff); +} + } // namespace Magnum::Examples |