summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-08 08:50:20 +0100
committerGitHub <noreply@github.com>2018-03-08 08:50:20 +0100
commit8ded15b035e9db959b7669ec72b38d1a94a8df30 (patch)
treed19576f1eabb984b162098b3caad1a9666abb0e8 /doc
parent079b919b412188f6a5a6feb9b7808483baba9ace (diff)
parent9d7856620c5af8e1a5c3f81f921070728b6925d6 (diff)
Merge pull request #16485 from poke1024/vector2-cross
Bring back Vector2.cross()
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Vector2.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index 9df2eb143b..b293ec3368 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -81,6 +81,15 @@
Returns the vector with a maximum length.
</description>
</method>
+ <method name="cross">
+ <return type="float">
+ </return>
+ <argument index="0" name="b" type="Vector2">
+ </argument>
+ <description>
+ Returns the 2-dimensional analog of the cross product with [code]b[/code].
+ </description>
+ </method>
<method name="cubic_interpolate">
<return type="Vector2">
</return>