mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 10:34:16 +00:00
20 lines
227 B
C++
Executable File
20 lines
227 B
C++
Executable File
#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 |