From 993b6a782dacaf3b2ae56fd6392b6c74dfee1891 Mon Sep 17 00:00:00 2001 From: EmaMaker Date: Wed, 4 Oct 2023 12:14:56 +0200 Subject: [PATCH] chunkmeshdata use chunk_index_t. squash into chunkmeshdata creation commit --- include/chunkmeshdata.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/chunkmeshdata.hpp b/include/chunkmeshdata.hpp index 200abc1..74fd74d 100644 --- a/include/chunkmeshdata.hpp +++ b/include/chunkmeshdata.hpp @@ -1,12 +1,15 @@ #ifndef CHUNK_MESH_DATA_H #define CHUNK_MESH_DATA_H +#include +#include "chunk.hpp" + enum class ChunkMeshDataType{ MESH_UPDATE }; typedef struct ChunkMeshData{ - int32_t index; + chunk_index_t index; glm::vec3 position; int num_vertices = 0;