Improve Vector2 / 3 / 4 normalized() classref.
Mention that the results will be unreliable with initial vector near zero.
This commit is contained in:
parent
ea31842b72
commit
cca01afd82
@ -288,6 +288,7 @@
|
||||
<return type="Vector2" />
|
||||
<description>
|
||||
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. See also [method is_normalized].
|
||||
[b]Note:[/b] This function may return incorrect values if the initial vector length is near zero.
|
||||
</description>
|
||||
</method>
|
||||
<method name="orthogonal" qualifiers="const">
|
||||
|
@ -256,6 +256,7 @@
|
||||
<return type="Vector3" />
|
||||
<description>
|
||||
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. See also [method is_normalized].
|
||||
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
||||
</description>
|
||||
</method>
|
||||
<method name="octahedron_decode" qualifiers="static">
|
||||
|
@ -191,6 +191,7 @@
|
||||
<return type="Vector4" />
|
||||
<description>
|
||||
Returns the result of scaling the vector to unit length. Equivalent to [code]v / v.length()[/code]. See also [method is_normalized].
|
||||
[b]Note:[/b] This function may return incorrect values if the input vector length is near zero.
|
||||
</description>
|
||||
</method>
|
||||
<method name="posmod" qualifiers="const">
|
||||
|
Loading…
Reference in New Issue
Block a user