Commits

Alex Szpakowski committed 27eff5d

Renamed BezierCurve:move to BezierCurve:translate (resolves issue #723)

  • Participants
  • Parent commits 31f8f11

Comments (0)

Files changed (2)

File src/modules/math/wrap_BezierCurve.cpp

 	return 0;
 }
 
-int w_BezierCurve_move(lua_State *L)
+int w_BezierCurve_translate(lua_State *L)
 {
 	BezierCurve *curve = luax_checkbeziercurve(L, 1);
 	double dx = luaL_checknumber(L, 2);
 	{"getControlPoint", w_BezierCurve_getControlPoint},
 	{"setControlPoint", w_BezierCurve_setControlPoint},
 	{"insertControlPoint", w_BezierCurve_insertControlPoint},
-	{"move", w_BezierCurve_move},
+	{"translate", w_BezierCurve_translate},
 	{"rotate", w_BezierCurve_rotate},
 	{"scale", w_BezierCurve_scale},
 	{"eval", w_BezierCurve_eval},

File src/modules/math/wrap_BezierCurve.h

 int w_BezierCurve_getControlPoint(lua_State *L);
 int w_BezierCurve_setControlPoint(lua_State *L);
 int w_BezierCurve_insertControlPoint(lua_State *L);
-int w_BezierCurve_move(lua_State *L);
+int w_BezierCurve_translate(lua_State *L);
 int w_BezierCurve_rotate(lua_State *L);
 int w_BezierCurve_scale(lua_State *L);
 int w_BezierCurve_eval(lua_State *L);