From d2058dce75ceb67f27c50e9f27d755a4d30c9003 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 13 Nov 2018 21:33:25 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E6=B8=B2=E6=9F=93=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/je_graphic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libjin/Graphics/je_graphic.cpp') diff --git a/src/libjin/Graphics/je_graphic.cpp b/src/libjin/Graphics/je_graphic.cpp index 73d46b3..1231139 100644 --- a/src/libjin/Graphics/je_graphic.cpp +++ b/src/libjin/Graphics/je_graphic.cpp @@ -43,7 +43,7 @@ namespace JinEngine glDeleteTextures(1, &mTexture); } - void Graphic::render(int x, int y, float sx, float sy, float r, float ox, float oy) + void Graphic::render(int x, int y, float sx, float sy, float r, float ox, float oy) const { gl.ModelMatrix.setTransformation(x, y, r, sx, sy, ox, oy); int w = getWidth(), h = getHeight(); @@ -71,7 +71,7 @@ namespace JinEngine gl.bindTexture(0); } - void Graphic::render(const Math::Quad& slice, int x, int y, float sx, float sy, float r, float ax, float ay) + void Graphic::render(const Math::Quad& slice, int x, int y, float sx, float sy, float r, float ax, float ay) const { static float vertexCoords[8]; static float textureCoords[8]; -- cgit v1.1-26-g67d0