summaryrefslogtreecommitdiffstats
path: root/src/game/client/world/chunk_mesher.hh
blob: 0a4639d9377c55a4175753b65412e6c3500c8ed8 (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
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: chunk_mesher.hh
// Description: Threaded voxel mesh generation

#ifndef CLIENT_WORLD_CHUNK_MESHER_HH
#define CLIENT_WORLD_CHUNK_MESHER_HH
#pragma once

#include "client/world/chunk_vbo.hh"

struct ChunkMesh final {
    std::vector<ChunkVBO> quad_nb;
    std::vector<ChunkVBO> quad_b;
};

namespace chunk_mesher
{
void init(void);
void shutdown(void);
void update(void);
} // namespace chunk_mesher

#endif