diff options
author | lawnjelly <lawnjelly@gmail.com> | 2023-03-13 12:48:05 +0000 |
---|---|---|
committer | lawnjelly <lawnjelly@gmail.com> | 2023-03-16 11:20:30 +0000 |
commit | cca01afd82bd6e7b3e852a66ca459f5d61022585 (patch) | |
tree | 3a6c973cec8c86b240f0dcc37f402d65f7c9b01b /doc/classes/Vector3.xml | |
parent | ea31842b72974dd663e908872213979f47e66f0d (diff) | |
download | redot-engine-cca01afd82bd6e7b3e852a66ca459f5d61022585.tar.gz |
Improve Vector2 / 3 / 4 normalized() classref.
Mention that the results will be unreliable with initial vector near zero.
Diffstat (limited to 'doc/classes/Vector3.xml')
-rw-r--r-- | doc/classes/Vector3.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index f1400b9900..79d25b8091 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -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"> |