blob: 14df0195be643ffe1a74ec7dbc811c9782e5e54c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CLIENT_CHUNK_MESHER_HH
#define CLIENT_CHUNK_MESHER_HH 1
#pragma once
#include "client/world/chunk_vbo.hh"
namespace world
{
struct ChunkMesh final {
std::vector<ChunkVBO> quad_nb;
std::vector<ChunkVBO> quad_b;
};
} // namespace world
namespace world::chunk_mesher
{
void init(void);
void shutdown(void);
void update(void);
} // namespace world::chunk_mesher
#endif // CLIENT_CHUNK_MESHER_HH
|