Génération de Chunks en multithreads

This commit is contained in:
MarcEricMartel
2021-12-12 23:31:38 -05:00
parent f4ec4816af
commit 7eb9f44d41
8 changed files with 223 additions and 115 deletions

View File

@@ -2,6 +2,7 @@
#define VERTEXBUFFER_H__
#include "define.h"
#include <mutex>
class VertexBuffer
{
@@ -33,6 +34,7 @@ class VertexBuffer
private:
static std::mutex m_opgl;
bool m_isValid;
int m_vertexCount;
GLuint m_vertexVboId;