feat: rework ebo, vao and vbo

This commit is contained in:
2025-12-08 15:53:48 +01:00
parent 0d5caf1d19
commit b8a0cdfa3e
5 changed files with 20 additions and 16 deletions

View File

@@ -5,16 +5,17 @@
#include "glad/glad.h"
class EBO
{
private:
GLuint id;
public:
EBO(unsigned int* indices, size_t size);
EBO();
~EBO();
void setData(unsigned int* indices, size_t size);
void bind();
void unbind();
};