Skip to content

Commit 542639d

Browse files
committed
Add aliases for Vector2/3.limit_length method
1 parent 8f78e75 commit 542639d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/classes/Vector2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
Returns the result of the linear interpolation between this vector and [param to] by amount [param weight]. [param weight] is on the range of [code]0.0[/code] to [code]1.0[/code], representing the amount of interpolation.
268268
</description>
269269
</method>
270-
<method name="limit_length" qualifiers="const" keywords="truncate">
270+
<method name="limit_length" qualifiers="const" keywords="clamp, saturate, truncate">
271271
<return type="Vector2" />
272272
<param index="0" name="length" type="float" default="1.0" />
273273
<description>

doc/classes/Vector3.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
Returns the result of the linear interpolation between this vector and [param to] by amount [param weight]. [param weight] is on the range of [code]0.0[/code] to [code]1.0[/code], representing the amount of interpolation.
236236
</description>
237237
</method>
238-
<method name="limit_length" qualifiers="const" keywords="truncate">
238+
<method name="limit_length" qualifiers="const" keywords="clamp, saturate, truncate">
239239
<return type="Vector3" />
240240
<param index="0" name="length" type="float" default="1.0" />
241241
<description>

0 commit comments

Comments
 (0)