From 58d09aa3ca4409e2a15473b0ac3c0446f0acb1a2 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 22 Oct 2018 21:30:21 +0800 Subject: *misc --- src/lua/modules/graphics/texture.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/lua/modules/graphics/texture.cpp') 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 } }; -- cgit v1.1-26-g67d0