From 50be5c9746854adcdb5b45b75955b57f18f98fe5 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 23 Oct 2018 13:07:57 +0800 Subject: *draw->render --- 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 831e409..cce0c74 100644 --- a/src/libjin/Graphics/je_graphic.cpp +++ b/src/libjin/Graphics/je_graphic.cpp @@ -59,7 +59,7 @@ namespace JinEngine glDeleteTextures(1, &mTexture); } - void Graphic::draw(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) { gl.ModelMatrix.setTransformation(x, y, r, sx, sy, ox, oy); @@ -74,7 +74,7 @@ namespace JinEngine gl.bindTexture(0); } - void Graphic::draw(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) { float vertCoords[8] = { 0, 0, -- cgit v1.1-26-g67d0