diff options
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 } }; |