voxel-engine/include/chunkmanager.hpp

24 lines
379 B
C++
Raw Normal View History

#ifndef CHUNKMANAGER_H
#define CHUNKMANAGER_H
#include <thread>
namespace chunkmanager
{
std::thread initGenThread();
std::thread initMeshThread();
2023-03-07 21:37:28 +01:00
void stopGenThread();
void stopMeshThread();
void update(float deltaTime);
2023-03-07 21:37:28 +01:00
void updateChunk(uint32_t, uint16_t, uint16_t, uint16_t);
void destroy();
void mesh();
void generate();
2023-03-07 21:37:28 +01:00
}
2023-03-07 21:37:28 +01:00
#endif