feat: refactoring

This commit is contained in:
2025-10-22 14:25:02 +02:00
parent 71f1b2c6d2
commit ea593feb8d
36 changed files with 220 additions and 71 deletions

View File

@ -2,6 +2,8 @@
#include "engine/renderer/mesh.h"
namespace Engine {
Mesh::Mesh() {
m_vao = 0;
m_vbo = 0;
@ -57,4 +59,6 @@ void Mesh::Render(unsigned int count)
glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(m_indexBuffer.size()), GL_UNSIGNED_INT, 0);
}
Unbind();
}
}
}