diff options
author | marynate <mary.w.nate@gmail.com> | 2014-04-01 23:11:04 +0800 |
---|---|---|
committer | marynate <mary.w.nate@gmail.com> | 2014-04-01 23:12:17 +0800 |
commit | 0a8d2fc6dcd7191a80030b342610777de9651059 (patch) | |
tree | 6039844d62107574f487eb75e5150558bf72d138 | |
parent | e20e3c9525c2f0d5bb95e85138a8d88a0088d439 (diff) |
Add Matrix3::get_scale() binding
-rw-r--r-- | core/variant_call.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index be1b0eb3d3..6ab33b7bcc 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -600,6 +600,7 @@ static void _call_##m_type##_##m_method(Variant& r_ret,Variant& p_self,const Var VCALL_PTR0R( Matrix3, determinant ); VCALL_PTR2R( Matrix3, rotated ); VCALL_PTR1R( Matrix3, scaled ); + VCALL_PTR0R( Matrix3, get_scale ); VCALL_PTR0R( Matrix3, get_euler ); VCALL_PTR1R( Matrix3, tdotx ); VCALL_PTR1R( Matrix3, tdoty ); @@ -1390,6 +1391,7 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC0(MATRIX3,REAL,Matrix3,determinant,varray()); ADDFUNC2(MATRIX3,MATRIX3,Matrix3,rotated,VECTOR3,"axis",REAL,"phi",varray()); ADDFUNC1(MATRIX3,MATRIX3,Matrix3,scaled,VECTOR3,"scale",varray()); + ADDFUNC0(MATRIX3,VECTOR3,Matrix3,get_scale,varray()); ADDFUNC0(MATRIX3,VECTOR3,Matrix3,get_euler,varray()); ADDFUNC1(MATRIX3,REAL,Matrix3,tdotx,VECTOR3,"with",varray()); ADDFUNC1(MATRIX3,REAL,Matrix3,tdoty,VECTOR3,"with",varray()); |