summaryrefslogtreecommitdiff
path: root/doc/classes/Vector2.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-28 21:46:43 +0100
committerGitHub <noreply@github.com>2020-12-28 21:46:43 +0100
commit6cebb8c11773b203039c811c2ee50ba25c99e5e1 (patch)
treec08adb794731c9fd9bcd7ed277e85b43e8c7a2c0 /doc/classes/Vector2.xml
parent8886a6a45c0769903050605898fd07a0ac198cdb (diff)
parentb743a2ef3cc48a94d626fccb49217237b7d4497c (diff)
Merge pull request #44586 from madmiraal/rename-stepify
Rename Math::stepify to snapped
Diffstat (limited to 'doc/classes/Vector2.xml')
-rw-r--r--doc/classes/Vector2.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index b85f7a2623..fef2d7cedd 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -473,7 +473,7 @@
<method name="snapped">
<return type="Vector2">
</return>
- <argument index="0" name="by" type="Vector2">
+ <argument index="0" name="step" type="Vector2">
</argument>
<description>
Returns this vector with each component snapped to the nearest multiple of [code]step[/code]. This can also be used to round to an arbitrary number of decimals.