From b1b5adfcbed66691aa6d1775d20c6aec6d1a4696 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 19 Nov 2018 08:09:17 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9graphic=20position=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/graphics/je_graphic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libjin/graphics/je_graphic.h') 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. -- cgit v1.1-26-g67d0