diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2017-01-10 09:11:36 +0100 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2017-01-10 09:11:36 +0100 |
commit | 0fbf3b990d0dc36fb1dd914a9a92b57e351a8804 (patch) | |
tree | 84bbecd8d0ce6f06d28c484df434b9c4e0bf24b2 /core/variant_call.cpp | |
parent | 48097f6df364b040848fb8963f15738d760a72ed (diff) |
Remove deprecated Vector2.floorf method
Diffstat (limited to 'core/variant_call.cpp')
-rw-r--r-- | core/variant_call.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 5c9e8e9248..6aa37601a0 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -423,10 +423,6 @@ static void _call_##m_type##_##m_method(Variant& r_ret,Variant& p_self,const Var r_ret=Variant(); } - static void _call_Vector2_floorf(Variant& r_ret,Variant& p_self,const Variant** p_args) { - r_ret = reinterpret_cast<Vector2*>(p_self._data._mem)->floor(); - }; - VCALL_LOCALMEM0R(Quat,length); VCALL_LOCALMEM0R(Quat,length_squared); VCALL_LOCALMEM0R(Quat,normalized); @@ -1458,7 +1454,6 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC1(VECTOR2,VECTOR2,Vector2,rotated,REAL,"phi",varray()); ADDFUNC0(VECTOR2,VECTOR2,Vector2,tangent,varray()); ADDFUNC0(VECTOR2,VECTOR2,Vector2,floor,varray()); - ADDFUNC0(VECTOR2,VECTOR2,Vector2,floorf,varray()); ADDFUNC1(VECTOR2,VECTOR2,Vector2,snapped,VECTOR2,"by",varray()); ADDFUNC0(VECTOR2,REAL,Vector2,get_aspect,varray()); ADDFUNC1(VECTOR2,REAL,Vector2,dot,VECTOR2,"with",varray()); |