]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - src/client/terrain_gfx.h
Client: unify error handling
[dragonblocks_alpha.git] / src / client / terrain_gfx.h
1 #ifndef _TERRAIN_GFX_H_
2 #define _TERRAIN_GFX_H_
3
4 #include "client/cube.h"
5 #include "terrain.h"
6
7 typedef struct {
8         CubeVertex cube;
9         f32 textureIndex;
10         v3f32 color;
11 } __attribute__((packed)) TerrainVertex;
12
13 void terrain_gfx_init();
14 void terrain_gfx_deinit();
15 void terrain_gfx_update();
16 void terrain_gfx_make_chunk_model(TerrainChunk *chunk);
17
18 #endif