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