2
0
Daniele Bartolini 12 жил өмнө
parent
commit
b51c0e7f5c

+ 0 - 12
engine/lua/LuaVector2.cpp

@@ -238,18 +238,6 @@ static int vector2_normalize(lua_State* L)
 	return 1;
 	return 1;
 }
 }
 
 
-//-----------------------------------------------------------------------------
-static int vector2_negate(lua_State* L)
-{
-	LuaStack stack(L);
-
-	Vector2& a = stack.get_vector2(1);
-
-	stack.push_vector2(-a);
-
-	return 1;
-}
-
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 static int vector2_distance(lua_State* L)
 static int vector2_distance(lua_State* L)
 {
 {

+ 0 - 12
engine/lua/LuaVector3.cpp

@@ -276,18 +276,6 @@ static int vector3_normalize(lua_State* L)
 	return 1;
 	return 1;
 }
 }
 
 
-//-----------------------------------------------------------------------------
-static int vector3_negate(lua_State* L)
-{
-	LuaStack stack(L);
-
-	Vector3& a = stack.get_vector3(1);
-
-	stack.push_vector3(-a);
-
-	return 1;
-}
-
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 static int vector3_distance(lua_State* L)
 static int vector3_distance(lua_State* L)
 {
 {