summaryrefslogtreecommitdiff
path: root/doc/classes/Vector4.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Vector4.xml')
-rw-r--r--doc/classes/Vector4.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Vector4.xml b/doc/classes/Vector4.xml
index b9df1ffb46..d15ae35b59 100644
--- a/doc/classes/Vector4.xml
+++ b/doc/classes/Vector4.xml
@@ -5,7 +5,8 @@
</brief_description>
<description>
4-element structure that can be used to represent any quadruplet of numeric values.
- It uses floating-point coordinates. See [Vector4i] for its integer counterpart.
+ It uses floating-point coordinates. By default, these floating-point values use 32-bit precision, unlike [float] which is always 64-bit. If double precision is needed, compile the engine with the option [code]float=64[/code].
+ See [Vector4i] for its integer counterpart.
[b]Note:[/b] In a boolean context, a Vector4 will evaluate to [code]false[/code] if it's equal to [code]Vector4(0, 0, 0, 0)[/code]. Otherwise, a Vector4 will always evaluate to [code]true[/code].
</description>
<tutorials>