summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-04-14 14:39:35 +0800
committerYuri Sizov <yuris@humnom.net>2023-04-24 17:03:56 +0200
commitc6297f46fe236abbd6c6b06bb9b6bfaa239b49a5 (patch)
tree40cccdb38957baf9231ef1e8859c744ca34c923d /core/variant
parent12da78cf3044faec0cdaf7c7dcae55f9295ccfe0 (diff)
Unify descriptions of vector methods
* is_equal_approx * normalize * length_squared * posmod * posmodv (cherry picked from commit 6cd8e706fae5dacc908efd1a823e3447e01bfa56)
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_call.cpp2
1 files changed, 1 insertions, 1 deletions
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());