summaryrefslogtreecommitdiff
path: root/doc/classes/Transform2D.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-05 14:14:28 +0200
committerGitHub <noreply@github.com>2022-05-05 14:14:28 +0200
commitb05fbb21e5ea5852b36923e40228936f78a5723e (patch)
tree9fb01723363bd5fe61bae52d235431cf97080615 /doc/classes/Transform2D.xml
parent192499c74381686deb44950ada7a11a0232a6346 (diff)
parent87599054d26faa534e206959c12ef70f3a1e92f5 (diff)
Merge pull request #60769 from Mickeon/patch-1
Diffstat (limited to 'doc/classes/Transform2D.xml')
-rw-r--r--doc/classes/Transform2D.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml
index 3ad21ee809..7d289b2ef5 100644
--- a/doc/classes/Transform2D.xml
+++ b/doc/classes/Transform2D.xml
@@ -141,14 +141,14 @@
<return type="Transform2D" />
<argument index="0" name="phi" type="float" />
<description>
- Rotates the transform by the given angle (in radians), using matrix multiplication.
+ Returns a copy of the transform rotated by the given [code]phi[/code] angle (in radians), using matrix multiplication.
</description>
</method>
<method name="scaled" qualifiers="const">
<return type="Transform2D" />
<argument index="0" name="scale" type="Vector2" />
<description>
- Scales the transform by the given scale factor, using matrix multiplication.
+ Returns a copy of the transform scaled by the given [code]scale[/code] factor, using matrix multiplication.
</description>
</method>
<method name="set_rotation">
@@ -176,7 +176,7 @@
<return type="Transform2D" />
<argument index="0" name="offset" type="Vector2" />
<description>
- Translates the transform by the given offset, relative to the transform's basis vectors.
+ Returns a copy of the transform translated by the given [code]offset[/code], relative to the transform's basis vectors.
Unlike [method rotated] and [method scaled], this does not use matrix multiplication.
</description>
</method>