summaryrefslogtreecommitdiff
path: root/doc/classes/Vector2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Vector2.xml')
-rw-r--r--doc/classes/Vector2.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index 7e03e7f0fe..1f8eb47044 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -259,15 +259,18 @@
</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>
<constant name="ZERO" value="Vector2( 0, 0 )">
- Null vector.
+ Zero vector.
+ </constant>
+ <constant name="ONE" value="Vector2( 1, 1 )">
+ One vector.
</constant>
<constant name="INF" value="Vector2( inf, inf )">
Infinite vector.