diff options
author | chai <chaifix@163.com> | 2018-10-23 13:07:57 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-23 13:07:57 +0800 |
commit | 50be5c9746854adcdb5b45b75955b57f18f98fe5 (patch) | |
tree | ca854633b3901f6f052e757ca2a98ad0c597a508 /src/libjin/Graphics/je_graphic.cpp | |
parent | 233856869a699c0139291e4f43a61bc5a056c189 (diff) |
*draw->render
Diffstat (limited to 'src/libjin/Graphics/je_graphic.cpp')
-rw-r--r-- | src/libjin/Graphics/je_graphic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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, |