Browse Source

Add bindings for setting and getting a Transform's matrix representation.

--HG--
branch : minor
Tanner Rogalsky 8 years ago
parent
commit
9084dce58f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/modules/math/wrap_Transform.cpp

+ 2 - 0
src/modules/math/wrap_Transform.cpp

@@ -298,6 +298,8 @@ static const luaL_Reg functions[] =
 	{ "shear", w_Transform_shear },
 	{ "reset", w_Transform_reset },
 	{ "setTransformation", w_Transform_setTransformation },
+	{ "setMatrix", w_Transform_setMatrix },
+	{ "getMatrix", w_Transform_getMatrix },
 	{ "transformPoint", w_Transform_transformPoint },
 	{ "inverseTransformPoint", w_Transform_inverseTransformPoint },
 	{ "__mul", w_Transform__mul },