blob: 41d11067362c07cfd10d98e9697c9158c56157fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#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
|