mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 13:34:16 +00:00
21 lines
239 B
C++
Executable File
21 lines
239 B
C++
Executable File
#ifndef EBO_HPP
|
|
#define EBO_HPP
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "glad/glad.h"
|
|
|
|
|
|
class EBO
|
|
{
|
|
private:
|
|
GLuint id;
|
|
|
|
public:
|
|
EBO(unsigned int* indices, size_t size);
|
|
~EBO();
|
|
|
|
void bind();
|
|
void unbind();
|
|
};
|
|
#endif |