diff options
author | chai <chaifix@163.com> | 2018-11-19 08:09:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-19 08:09:17 +0800 |
commit | b1b5adfcbed66691aa6d1775d20c6aec6d1a4696 (patch) | |
tree | bb81e1e713ed3e1771163125f6ddacd5fe649f34 /src/libjin/graphics/je_graphic.h | |
parent | 4279e16ddb6273a9711ff331d21325dd5f63e769 (diff) |
*修改graphic position type
Diffstat (limited to 'src/libjin/graphics/je_graphic.h')
-rw-r--r-- | src/libjin/graphics/je_graphic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libjin/graphics/je_graphic.h b/src/libjin/graphics/je_graphic.h index 51c8e3d..b113891 100644 --- a/src/libjin/graphics/je_graphic.h +++ b/src/libjin/graphics/je_graphic.h @@ -61,12 +61,12 @@ 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) const; + void render(float x, float 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) const; + void render(const Math::Quad& slice, float x, float y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0) const; /// /// Render with transform. |