diff options
Diffstat (limited to 'src/libjin/Graphics/Drawable.h')
-rw-r--r-- | src/libjin/Graphics/Drawable.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Drawable.h b/src/libjin/Graphics/Drawable.h index 86cc919..b3fc565 100644 --- a/src/libjin/Graphics/Drawable.h +++ b/src/libjin/Graphics/Drawable.h @@ -3,7 +3,7 @@ #include "../modules.h" #if JIN_MODULES_RENDER -#include "../math/Vector.h" +#include "../math/Vector2.h" #include "../3rdparty/GLee/GLee.h" namespace jin @@ -27,9 +27,10 @@ namespace graphics static const int DRAWABLE_V_SIZE = 8; GLuint texture; + /* TODO: vertex buffer object */ GLuint vbo; - jin::math::Vector2 size; - jin::math::Vector2 anchor; + jin::math::Vector2<unsigned int> size; + jin::math::Vector2<int> anchor; float vertCoord[DRAWABLE_V_SIZE]; float textCoord[DRAWABLE_V_SIZE]; |