diff options
author | chai <chaifix@163.com> | 2018-09-07 00:27:46 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-07 00:27:46 +0800 |
commit | 5e4a2c8fa58f30a93506c1db21aa7a9921c0affc (patch) | |
tree | 644837c30568296c311eb68b199048ad5f3b8a83 /src/libjin/Graphics/Drawable.h | |
parent | d395ac00770e1dad6f9a2ba98ef23b8b719d0d16 (diff) |
*format source code
Diffstat (limited to 'src/libjin/Graphics/Drawable.h')
-rw-r--r-- | src/libjin/Graphics/Drawable.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libjin/Graphics/Drawable.h b/src/libjin/Graphics/Drawable.h index b3fc565..bdec5b4 100644 --- a/src/libjin/Graphics/Drawable.h +++ b/src/libjin/Graphics/Drawable.h @@ -16,7 +16,6 @@ namespace graphics public: Drawable(int w = 0, int h = 0); 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; } @@ -28,7 +27,7 @@ namespace graphics GLuint texture; /* TODO: vertex buffer object */ - GLuint vbo; + /* GLuint vbo; */ jin::math::Vector2<unsigned int> size; jin::math::Vector2<int> anchor; float vertCoord[DRAWABLE_V_SIZE]; |