You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #100204 from KoBeWi/nananananan
Clarify `limit_length()` for infinite vectors
This commit is contained in:
@@ -270,7 +270,7 @@
|
|||||||
<return type="Vector2" />
|
<return type="Vector2" />
|
||||||
<param index="0" name="length" type="float" default="1.0" />
|
<param index="0" name="length" type="float" default="1.0" />
|
||||||
<description>
|
<description>
|
||||||
Returns the vector with a maximum length by limiting its length to [param length].
|
Returns the vector with a maximum length by limiting its length to [param length]. If the vector is non-finite, the result is undefined.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="max" qualifiers="const">
|
<method name="max" qualifiers="const">
|
||||||
|
|||||||
@@ -239,7 +239,7 @@
|
|||||||
<return type="Vector3" />
|
<return type="Vector3" />
|
||||||
<param index="0" name="length" type="float" default="1.0" />
|
<param index="0" name="length" type="float" default="1.0" />
|
||||||
<description>
|
<description>
|
||||||
Returns the vector with a maximum length by limiting its length to [param length].
|
Returns the vector with a maximum length by limiting its length to [param length]. If the vector is non-finite, the result is undefined.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="max" qualifiers="const">
|
<method name="max" qualifiers="const">
|
||||||
|
|||||||
Reference in New Issue
Block a user