#ifndef CHUNKMESH_H #define CHUNKMESH_H #include #include #include #include #include #include #include "chunk.hpp" #include "chunkmeshdata.hpp" #include "globals.hpp" #include "shader.hpp" namespace chunkmesher{ struct MeshData{ Chunk::Chunk* chunk; GLuint numVertices{0}; std::vector vertices; std::vector extents; std::vector texinfo; }; ChunkMeshDataQueue& getMeshDataQueue(); void init(); void mesh(Chunk::Chunk* chunk); } #endif