Initial commit

This commit is contained in:
CJ Satnarine
2025-02-15 00:07:28 -05:00
committed by GitHub
commit 30879d8ef8
25 changed files with 16500 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#ifndef ELEMENT_BUFFER_OBJECT_H
#define ELEMENT_BUFFER_OBJECT_H
#include "../glad/glad.h"
class ElementBufferObject {
public:
// ID reference of the Elements Buffer Object.
unsigned int ID;
// Constructor that generates EBO and links it to indices.
ElementBufferObject(unsigned int *indices, GLsizeiptr size);
// Binds the EBO.
void Bind();
// Unbinds the EBO.
void Unbind();
// Deletes the EBO.
void Delete();
};
#endif