wip: practica1

This commit is contained in:
izenynn
2025-02-20 14:38:57 +01:00
parent 0a078c59e4
commit 6cc31a24ac
12 changed files with 216 additions and 81 deletions

View File

@@ -11,11 +11,13 @@
class Buffer {
public:
Buffer(const std::vector<Vertex>& vertices, const std::vector<uint16_t>& indices);
~Buffer();
void Draw(const Shader& shader) const;
private:
uint32_t VAO, VBO, EBO;
uint32_t vao_, vbo_, ebo_;
GLsizei index_count_;
};
#endif // BUFFER_H_