summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-01 09:55:27 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-01 09:55:27 +0200
commit4e30bc71f5c7eab6d7dab047cdb95b9db24f9590 (patch)
treedb10f1baf4104e4b8001fc176cc2a616fec2aa0c /core
parent3ebef6ce7a8dd95f3727e80e0e786b8b0960cced (diff)
parent4d580b15be654c562e56b1cc046c2b1f9992cf0b (diff)
downloadredot-engine-4e30bc71f5c7eab6d7dab047cdb95b9db24f9590.tar.gz
Merge pull request #91376 from clayjohn/DOCS-reflect-vec3
Update the description and parameter name for Vector3 reflect to correct how the plane is constructed
Diffstat (limited to 'core')
-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 d0d940c47d..4f510d1baa 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -1896,7 +1896,7 @@ static void _register_variant_builtin_methods() {
bind_method(Vector3, project, sarray("b"), varray());
bind_method(Vector3, slide, sarray("n"), varray());
bind_method(Vector3, bounce, sarray("n"), varray());
- bind_method(Vector3, reflect, sarray("direction"), varray());
+ bind_method(Vector3, reflect, sarray("n"), varray());
bind_method(Vector3, sign, sarray(), varray());
bind_method(Vector3, octahedron_encode, sarray(), varray());
bind_static_method(Vector3, octahedron_decode, sarray("uv"), varray());