chunkmeshdata use chunk_index_t. squash into chunkmeshdata creation commit
parent
68f0e320b6
commit
993b6a782d
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue