summaryrefslogtreecommitdiffhomepage
path: root/tile.cpp
blob: eff0177d12f64e33c4762632a5cab5c086393da4 (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_array_type chunk::make_tile_indices() noexcept
{
    tile_index_array_type array;
    for (unsigned i = 0; i < N*N; i++)
        array[i] = (std::uint8_t)i;
    return array;
}

world::world() = default;

} // namespace Magnum::Examples