diff options
author | Lertsenem <lertsenem@lertsenem.com> | 2021-09-24 18:36:38 +0200 |
---|---|---|
committer | Lertsenem <lertsenem@lertsenem.com> | 2021-09-24 18:41:06 +0200 |
commit | e1bf428cdcc2e48f6cda7cf1a4d38b70e2d8b5d0 (patch) | |
tree | 4fe9b43490632ca9546e1841fd1c403c87056034 | |
parent | 53306cb79a32b4d0db7c267e9e01771212766316 (diff) |
Fix error in Vector2.reflect() description
The description was probably copied from Vector3.reflect(), and
unfortunately did not match the 2D behaviour (where n is apparently the
direction vector of the symmetry line, not the normal).
-rw-r--r-- | doc/classes/Vector2.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index b61d5bea0e..53becede74 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -372,7 +372,7 @@ <return type="Vector2" /> <argument index="0" name="n" type="Vector2" /> <description> - Returns the vector reflected from a plane defined by the given normal. + Returns the vector reflected (ie mirrored, or symmetric) over a line defined by the given direction vector [code]n[/code]. </description> </method> <method name="rotated" qualifiers="const"> |