From 942f15fa4e5c465bd527fab00070d7a7269fe33b Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Fri, 24 Sep 2021 18:36:38 +0200 Subject: [PATCH] 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). (cherry picked from commit e1bf428cdcc2e48f6cda7cf1a4d38b70e2d8b5d0) --- doc/classes/Vector2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index 4ade0853508..6b9fc3fdaa5 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -217,7 +217,7 @@ - Returns the vector reflected from a plane defined by the given normal. + Returns the vector reflected (i.e. mirrored, or symmetric) over a line defined by the given direction vector [code]n[/code].