From 9084dce58f12b688ee0fc7525c2a1631974fa232 Mon Sep 17 00:00:00 2001 From: Tanner Rogalsky Date: Tue, 20 Jun 2017 08:06:28 -0400 Subject: [PATCH] Add bindings for setting and getting a Transform's matrix representation. --HG-- branch : minor --- src/modules/math/wrap_Transform.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/math/wrap_Transform.cpp b/src/modules/math/wrap_Transform.cpp index 8b73fe4f1..0bd834a54 100644 --- a/src/modules/math/wrap_Transform.cpp +++ b/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 },