voxel-engine/include/chunkmanager.hpp

18 lines
322 B
C++
Raw Normal View History

#ifndef CHUNKMANAGER_H
#define CHUNKMANAGER_H
#include <thread>
namespace chunkmanager
{
std::thread initGenThread();
std::thread initMeshThread();
void update(float deltaTime);
void updateChunk(uint32_t, uint16_t, uint16_t, uint16_t);
void destroy();
void mesh();
void generate();
}
#endif