From c6297f46fe236abbd6c6b06bb9b6bfaa239b49a5 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 14 Apr 2023 14:39:35 +0800 Subject: Unify descriptions of vector methods * is_equal_approx * normalize * length_squared * posmod * posmodv (cherry picked from commit 6cd8e706fae5dacc908efd1a823e3447e01bfa56) --- core/variant/variant_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/variant') diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index 0c0c8f657a..c3617d4598 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1906,7 +1906,7 @@ static void _register_variant_builtin_methods() { bind_method(Vector4, distance_squared_to, sarray("to"), varray()); bind_method(Vector4, dot, sarray("with"), varray()); bind_method(Vector4, inverse, sarray(), varray()); - bind_method(Vector4, is_equal_approx, sarray("with"), varray()); + bind_method(Vector4, is_equal_approx, sarray("to"), varray()); bind_method(Vector4, is_zero_approx, sarray(), varray()); bind_method(Vector4, is_finite, sarray(), varray()); -- cgit v1.2.3