summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAshafix <maximili.peters@mail.huji.ac.il>2018-10-21 19:53:16 +0200
committerMaximilian Peters <maximilian.peters@iqvia.com>2018-10-24 15:22:44 +0100
commitbbfa37a29cdd6650f0a47698b72ee2480790e159 (patch)
tree358a0fcf733a4d65b0660aa69a8390261b3996c8 /doc
parent81c2ed61f64e1f9d5247293b307690bd312f1be1 (diff)
Added section that coordinates can be accessed via indexes
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Vector2.xml4
-rw-r--r--doc/classes/Vector3.xml6
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index c323cf6992..1f8eb47044 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -259,10 +259,10 @@
</methods>
<members>
<member name="x" type="float" setter="" getter="">
- The vector's x component.
+ The vector's x component. Also accessible by using the index position [code][0][/code].
</member>
<member name="y" type="float" setter="" getter="">
- The vector's y component.
+ The vector's y component. Also accessible by using the index position [code][1][/code].
</member>
</members>
<constants>
diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml
index 8c4e08778d..2499ba75ff 100644
--- a/doc/classes/Vector3.xml
+++ b/doc/classes/Vector3.xml
@@ -260,13 +260,13 @@
</methods>
<members>
<member name="x" type="float" setter="" getter="">
- The vector's x component.
+ The vector's x component. Also accessible by using the index position [code][0][/code].
</member>
<member name="y" type="float" setter="" getter="">
- The vector's y component.
+ The vector's y component. Also accessible by using the index position [code][1][/code].
</member>
<member name="z" type="float" setter="" getter="">
- The vector's z component.
+ The vector's z component. Also accessible by using the index position [code][2][/code].
</member>
</members>
<constants>