adding thread pool

This commit is contained in:
2025-06-03 17:50:05 +02:00
parent 8dfb6af3ec
commit 66c42af1b8
5 changed files with 118 additions and 61 deletions

View File

@@ -63,7 +63,7 @@ void Chunk::GenerateChunk()
void Chunk::GenerateMesh()
{
if(!m_mesh_data.empty())
if(p_actor || p_water_actor)
return;
std::uint32_t mesh_offset = 0;