feat(VBO): add vbo config

This commit is contained in:
2025-11-15 19:52:36 +01:00
parent 202dc32bbe
commit 789796732a
2 changed files with 43 additions and 0 deletions

20
inc/VBO.hpp Executable file
View File

@@ -0,0 +1,20 @@
#ifndef VBO_HPP
#define VBO_HPP
#include <gl/glew.h>
class VBO
{
private:
unsigned int id;
public:
VBO(GLfloat* vertices, size_t size);
~VBO();
void bind();
void unbind();
};
#endif