Merge pull request #92707 from GrahameGW/vector_normalized_docs
Clarify the results of `VectorN.normalized()` in the docs
This commit is contained in:
commit
2f26842d86
|
@ -324,7 +324,7 @@
|
||||||
<method name="normalized" qualifiers="const">
|
<method name="normalized" qualifiers="const">
|
||||||
<return type="Vector2" />
|
<return type="Vector2" />
|
||||||
<description>
|
<description>
|
||||||
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. See also [method is_normalized].
|
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. Returns [code](0, 0)[/code] if [code]v.length() == 0[/code]. See also [method is_normalized].
|
||||||
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|
|
@ -293,7 +293,7 @@
|
||||||
<method name="normalized" qualifiers="const">
|
<method name="normalized" qualifiers="const">
|
||||||
<return type="Vector3" />
|
<return type="Vector3" />
|
||||||
<description>
|
<description>
|
||||||
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. See also [method is_normalized].
|
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. Returns [code](0, 0, 0)[/code] if [code]v.length() == 0[/code]. See also [method is_normalized].
|
||||||
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|
|
@ -227,7 +227,7 @@
|
||||||
<method name="normalized" qualifiers="const">
|
<method name="normalized" qualifiers="const">
|
||||||
<return type="Vector4" />
|
<return type="Vector4" />
|
||||||
<description>
|
<description>
|
||||||
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. See also [method is_normalized].
|
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. Returns [code](0, 0, 0, 0)[/code] if [code]v.length() == 0[/code]. See also [method is_normalized].
|
||||||
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|
Loading…
Reference in New Issue