summaryrefslogtreecommitdiffhomepage
path: root/tile.cpp
blob: 3fe28959c34d5093de1005cfe31fc17b6e69058b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "tile.hpp"
#include <limits>

namespace Magnum::Examples {

chunk::tile_index_type chunk::make_tile_indices() noexcept
{
    tile_index_type array;
    for (unsigned i = 0; i < N*N; i++)
        array[i] = (UnsignedByte)i;
    return array;
}

world::world() = default;

} // namespace Magnum::Examples