chunkmeshdata use chunk_index_t. squash into chunkmeshdata creation commit

EmaMaker 2023-10-04 12:14:56 +02:00
parent 68f0e320b6
commit 993b6a782d
1 changed files with 4 additions and 1 deletions

View File

@ -1,12 +1,15 @@
#ifndef CHUNK_MESH_DATA_H #ifndef CHUNK_MESH_DATA_H
#define CHUNK_MESH_DATA_H #define CHUNK_MESH_DATA_H
#include <oneapi/tbb/concurrent_queue.h>
#include "chunk.hpp"
enum class ChunkMeshDataType{ enum class ChunkMeshDataType{
MESH_UPDATE MESH_UPDATE
}; };
typedef struct ChunkMeshData{ typedef struct ChunkMeshData{
int32_t index; chunk_index_t index;
glm::vec3 position; glm::vec3 position;
int num_vertices = 0; int num_vertices = 0;