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).
This commit is contained in:
parent
53306cb79a
commit
e1bf428cdc
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue