aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/Vector2.xml
diff options
context:
space:
mode:
authorHein-Pieter van Braam2018-06-01 18:19:33 +0200
committerHein-Pieter van Braam2018-06-01 18:19:33 +0200
commitd24f77be99321d857285daddac0dda7128e348ed (patch)
treee690daf6ffb91aa1890bbd3740927f3e78134711 /doc/classes/Vector2.xml
parentf697b53eba3819a99200ed84f72cc1a8b97ed159 (diff)
downloadgodot-d24f77be99321d857285daddac0dda7128e348ed.tar.gz
godot-d24f77be99321d857285daddac0dda7128e348ed.tar.zst
godot-d24f77be99321d857285daddac0dda7128e348ed.zip
Fix documentation version strings
Diffstat (limited to '')
-rw-r--r--doc/classes/Vector2.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index 95c2a31df..1e9126e34 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="Vector2" category="Built-In Types" version="3.0.2">
+<class name="Vector2" category="Built-In Types" version="3.0.3">
<brief_description>
Vector used for 2D math.
</brief_description>
@@ -34,7 +34,7 @@
<return type="float">
</return>
<description>
- Returns the vector's angle in radians with respect to the x-axis, or [code](1, 0)[/code] vector.
+ Returns the vector's angle in radians with respect to the x-axis, or [code](1, 0)[/code] vector.
Equivalent to the result of atan2 when called with the vector's x and y as parameters: [code]atan2(x, y)[/code].
</description>
</method>
@@ -72,6 +72,12 @@
Returns the vector "bounced off" from a plane defined by the given normal.
</description>
</method>
+ <method name="ceil">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="clamped">
<return type="Vector2">
</return>
@@ -175,7 +181,7 @@
<argument index="0" name="n" type="Vector2">
</argument>
<description>
- Returns the vector reflected from a plane defined by the given normal.
+ Returns the vector reflected from a plane defined by the given normal.
</description>
</method>
<method name="rotated">
@@ -187,6 +193,12 @@
Returns the vector rotated by [code]phi[/code] radians.
</description>
</method>
+ <method name="round">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="slide">
<return type="Vector2">
</return>