123456789101112131415161718192021 |
- #ifndef FRAMEBUFFERRECTANGLE_H
- #define FRAMEBUFFERRECTANGLE_H
- #include <GL/glew.h>
- #include <GLFW/glfw3.h>
- class FramebufferRectangle
- {
- public:
- FramebufferRectangle();
- virtual ~FramebufferRectangle();
-
- bool init();
- void draw();
- private:
- GLuint vba;
- GLuint vbo;
- };
- #endif
|