blob: 07e183d67b0ff6265c0db444d669401fbc416557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include "tile-defs.hpp"
#include <array>
#include <Corrade/Containers/ArrayViewStl.h>
#include <Magnum/Magnum.h>
#include <Magnum/Math/Vector2.h>
#include <Magnum/Math/Vector3.h>
#include <Magnum/GL/Mesh.h>
#include <Magnum/GL/Buffer.h>
namespace floormat {
struct tile_ref;
struct tile_shader;
struct chunk;
struct floor_mesh final
{
floor_mesh();
floor_mesh(floor_mesh&&) = delete;
floor_mesh(const floor_mesh&) = delete;
void draw(tile_shader& shader, chunk& c);
};
} // namespace floormat
|