mirror of https://github.com/godotengine/godot
Clarify limit_length() for infinite vectors
This commit is contained in:
parent
aa8d9b83f6
commit
3aebcaf4d3
|
|
@ -270,7 +270,7 @@
|
|||
<return type="Vector2" />
|
||||
<param index="0" name="length" type="float" default="1.0" />
|
||||
<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>
|
||||
</method>
|
||||
<method name="max" qualifiers="const">
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@
|
|||
<return type="Vector3" />
|
||||
<param index="0" name="length" type="float" default="1.0" />
|
||||
<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>
|
||||
</method>
|
||||
<method name="max" qualifiers="const">
|
||||
|
|
|
|||
Loading…
Reference in New Issue