diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-03-08 08:50:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 08:50:20 +0100 |
commit | 8ded15b035e9db959b7669ec72b38d1a94a8df30 (patch) | |
tree | d19576f1eabb984b162098b3caad1a9666abb0e8 /doc | |
parent | 079b919b412188f6a5a6feb9b7808483baba9ace (diff) | |
parent | 9d7856620c5af8e1a5c3f81f921070728b6925d6 (diff) |
Merge pull request #16485 from poke1024/vector2-cross
Bring back Vector2.cross()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Vector2.xml | 9 |
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> |