Changed "pair" to "triplet" in Vector3 definition

This commit is contained in:
GTcreyon 2022-04-23 12:15:14 +01:00
parent 7d6f87899e
commit ce1fcfcff9
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Vector used for 3D math using floating point coordinates. Vector used for 3D math using floating point coordinates.
</brief_description> </brief_description>
<description> <description>
3-element structure that can be used to represent positions in 3D space or any other pair of numeric values. 3-element structure that can be used to represent positions in 3D space or any other triplet of numeric values.
It uses floating-point coordinates. See [Vector3i] for its integer counterpart. It uses floating-point coordinates. See [Vector3i] for its integer counterpart.
[b]Note:[/b] In a boolean context, a Vector3 will evaluate to [code]false[/code] if it's equal to [code]Vector3(0, 0, 0)[/code]. Otherwise, a Vector3 will always evaluate to [code]true[/code]. [b]Note:[/b] In a boolean context, a Vector3 will evaluate to [code]false[/code] if it's equal to [code]Vector3(0, 0, 0)[/code]. Otherwise, a Vector3 will always evaluate to [code]true[/code].
</description> </description>

View File

@ -4,7 +4,7 @@
Vector used for 3D math using integer coordinates. Vector used for 3D math using integer coordinates.
</brief_description> </brief_description>
<description> <description>
3-element structure that can be used to represent positions in 3D space or any other pair of numeric values. 3-element structure that can be used to represent positions in 3D space or any other triplet of numeric values.
It uses integer coordinates and is therefore preferable to [Vector3] when exact precision is required. It uses integer coordinates and is therefore preferable to [Vector3] when exact precision is required.
[b]Note:[/b] In a boolean context, a Vector3i will evaluate to [code]false[/code] if it's equal to [code]Vector3i(0, 0, 0)[/code]. Otherwise, a Vector3i will always evaluate to [code]true[/code]. [b]Note:[/b] In a boolean context, a Vector3i will evaluate to [code]false[/code] if it's equal to [code]Vector3i(0, 0, 0)[/code]. Otherwise, a Vector3i will always evaluate to [code]true[/code].
</description> </description>