diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-01-30 18:45:54 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-01-30 18:45:54 +0700 |
commit | ebe23375156fbc0d610460b2a0e995bb5c966f84 (patch) | |
tree | 80fd633d0e53a0e6bbffaf6c50e511a5caeaa69d /doc/classes/Transform2D.xml | |
parent | 9f3138eea99b776a82bb1243a963b8e47adbc9c3 (diff) | |
download | redot-engine-ebe23375156fbc0d610460b2a0e995bb5c966f84.tar.gz |
Fix wrong return type of xform functions
Diffstat (limited to 'doc/classes/Transform2D.xml')
-rw-r--r-- | doc/classes/Transform2D.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml index 2a7a8bd97d..e20f48ba14 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -52,18 +52,18 @@ </description> </method> <method name="basis_xform"> - <return type="Transform2D"> + <return type="Vector2"> </return> - <argument index="0" name="v" type="var"> + <argument index="0" name="v" type="Vector2"> </argument> <description> Transforms the given vector by this transform's basis (no translation). </description> </method> <method name="basis_xform_inv"> - <return type="Transform2D"> + <return type="Vector2"> </return> - <argument index="0" name="v" type="var"> + <argument index="0" name="v" type="Vector2"> </argument> <description> Inverse-transforms the given vector by this transform's basis (no translation). @@ -143,21 +143,21 @@ </description> </method> <method name="xform"> - <return type="Transform2D"> + <return type="var"> </return> <argument index="0" name="v" type="var"> </argument> <description> - Transforms the given vector "v" by this transform. + Transforms the given [Vector2] or [Rect2] by this transform. </description> </method> <method name="xform_inv"> - <return type="Transform2D"> + <return type="var"> </return> <argument index="0" name="v" type="var"> </argument> <description> - Inverse-transforms the given vector "v" by this transform. + Inverse-transforms the given [Vector2] or [Rect2] by this transform. </description> </method> </methods> |