summaryrefslogtreecommitdiffhomepage
path: root/tile.cpp
blob: e5cb9a97c9c8cb646e1145a006ac4ef6e966991d (plain)
1
2
3
4
5
6
7
8
9
10
11
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