aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Drawable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Drawable.h')
-rw-r--r--src/libjin/Graphics/Drawable.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libjin/Graphics/Drawable.h b/src/libjin/Graphics/Drawable.h
index ff82365..c77068c 100644
--- a/src/libjin/Graphics/Drawable.h
+++ b/src/libjin/Graphics/Drawable.h
@@ -1,10 +1,10 @@
#ifndef __LIBJIN_DRAWABLE
#define __LIBJIN_DRAWABLE
-#include "../modules.h"
+#include "../jin_configuration.h"
#if LIBJIN_MODULES_RENDER
#include "../math/Vector2.hpp"
-#include "../3rdparty/GLee/GLee.h"
+#include "OpenGL.h"
namespace jin
{
@@ -27,12 +27,13 @@ namespace graphics
static const int DRAWABLE_V_SIZE = 8;
GLuint texture;
+ GLuint vbo;
/* TODO: vertex buffer object */
/* GLuint vbo; */
jin::math::Vector2<unsigned int> size;
jin::math::Vector2<int> anchor;
- float vertCoord[DRAWABLE_V_SIZE];
- float textCoord[DRAWABLE_V_SIZE];
+ float vertex_coords[DRAWABLE_V_SIZE];
+ float texture_coords[DRAWABLE_V_SIZE];
};