diff options
Diffstat (limited to 'src/libjin/Graphics/Drawable.h')
-rw-r--r-- | src/libjin/Graphics/Drawable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Drawable.h b/src/libjin/Graphics/Drawable.h index bdec5b4..8bc528e 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/Vector2.h" +#include "../math/Vector2.hpp" #include "../3rdparty/GLee/GLee.h" namespace jin @@ -18,8 +18,8 @@ namespace graphics virtual ~Drawable(); void setAnchor(int x, int y); void draw(int x, int y, float sx, float sy, float r); - inline int getWidth() const { return size.x; } - inline int getHeight() const { return size.y; } + inline int getWidth() const { return size.w; } + inline int getHeight() const { return size.h; } inline GLuint getTexture() const { return texture; } protected: |