diff options
author | chai <chaifix@163.com> | 2018-10-22 21:30:21 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-22 21:30:21 +0800 |
commit | 58d09aa3ca4409e2a15473b0ac3c0446f0acb1a2 (patch) | |
tree | 37dadab5575116c75b54064556b045ba8a245871 /src/lua/modules/graphics/texture.cpp | |
parent | 99bea1e47c813016d89c9e99296fa66e183d808f (diff) |
*misc
Diffstat (limited to 'src/lua/modules/graphics/texture.cpp')
-rw-r--r-- | src/lua/modules/graphics/texture.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lua/modules/graphics/texture.cpp b/src/lua/modules/graphics/texture.cpp index 15e258c..61bfaee 100644 --- a/src/lua/modules/graphics/texture.cpp +++ b/src/lua/modules/graphics/texture.cpp @@ -32,15 +32,6 @@ namespace JinEngine return 1; } - static int l_setOrigin(lua_State* L) - { - TextureRef ref = checkTexture(L); - int x = luax_checknumber(L, 2); - int y = luax_checknumber(L, 3); - ref->setOrigin(x, y); - return 0; - } - static int l_getSize(lua_State* L) { TextureRef ref = checkTexture(L); @@ -61,7 +52,6 @@ namespace JinEngine { "getWidth", l_getWidth }, { "getHeight", l_getHeight }, { "getSize", l_getSize }, - { "setOrigin", l_setOrigin }, { 0, 0 } }; |