From e1bf428cdcc2e48f6cda7cf1a4d38b70e2d8b5d0 Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Fri, 24 Sep 2021 18:36:38 +0200 Subject: 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). --- 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 b61d5bea0e..53becede74 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -372,7 +372,7 @@ - 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]. -- cgit v1.2.3