From 5e4a2c8fa58f30a93506c1db21aa7a9921c0affc Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 7 Sep 2018 00:27:46 +0800 Subject: *format source code --- src/libjin/Graphics/Drawable.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libjin/Graphics/Drawable.h') 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 size; jin::math::Vector2 anchor; float vertCoord[DRAWABLE_V_SIZE]; -- cgit v1.1-26-g67d0