summaryrefslogtreecommitdiffhomepage
path: root/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tile.cpp')
-rw-r--r--tile.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tile.cpp b/tile.cpp
new file mode 100644
index 00000000..3fe28959
--- /dev/null
+++ b/tile.cpp
@@ -0,0 +1,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