diff options
author | chai <chaifix@163.com> | 2018-11-13 21:33:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-13 21:33:25 +0800 |
commit | d2058dce75ceb67f27c50e9f27d755a4d30c9003 (patch) | |
tree | 7575e4b15b637511705632c276f244159841e375 /src/libjin/Graphics/je_graphic.h | |
parent | 75792c15480d3d99b2ba7e79e143e4b569b22611 (diff) |
*修改渲染模块
Diffstat (limited to 'src/libjin/Graphics/je_graphic.h')
-rw-r--r-- | src/libjin/Graphics/je_graphic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/Graphics/je_graphic.h b/src/libjin/Graphics/je_graphic.h index fdc328d..91c8b44 100644 --- a/src/libjin/Graphics/je_graphic.h +++ b/src/libjin/Graphics/je_graphic.h @@ -60,15 +60,15 @@ namespace JinEngine /// /// Render graphic single with given coordinates. /// - void render(int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0); + void render(int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0) const; /// /// Render part of graphic single with given coordinates. /// - void render(const Math::Quad& slice, int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0); + void render(const Math::Quad& slice, int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0) const; protected: - JinEngine::Math::Vector2<uint> mSize; + Math::Vector2<uint> mSize; private: GLuint mTexture; |