summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authortitus125 <69078732+titus125@users.noreply.github.com>2023-03-08 14:49:37 -0800
committerYuri Sizov <yuris@humnom.net>2023-03-13 14:26:29 +0100
commit8732a8af473fa552a0580d30280380becb27e4b7 (patch)
treec365ef36f99eb77f6d6865673fe5941d02305b6d /doc
parent8dca093d97713923f5ae37e68df82b82e60e15b2 (diff)
Fixed typos in the Transform2D and Transform3D class reference
(cherry picked from commit 36270d39d2f53bae5ac78f6b475be3d0ecb9184c)
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Transform2D.xml4
-rw-r--r--doc/classes/Transform3D.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml
index f3ed90a015..7bb9bf85ef 100644
--- a/doc/classes/Transform2D.xml
+++ b/doc/classes/Transform2D.xml
@@ -120,7 +120,7 @@
<return type="bool" />
<param index="0" name="xform" type="Transform2D" />
<description>
- Returns [code]true[/code] if this transform and [code]transform[/code] are approximately equal, by calling [code]is_equal_approx[/code] on each component.
+ Returns [code]true[/code] if this transform and [param xform] are approximately equal, by calling [code]is_equal_approx[/code] on each component.
</description>
</method>
<method name="is_finite" qualifiers="const">
@@ -133,7 +133,7 @@
<return type="Transform2D" />
<param index="0" name="target" type="Vector2" default="Vector2(0, 0)" />
<description>
- Returns a copy of the transform rotated such that it's rotation on the X-axis points towards the [param target] position.
+ Returns a copy of the transform rotated such that the rotated X-axis points towards the [param target] position.
Operations take place in global space.
</description>
</method>
diff --git a/doc/classes/Transform3D.xml b/doc/classes/Transform3D.xml
index 90c10e3664..e0485c7756 100644
--- a/doc/classes/Transform3D.xml
+++ b/doc/classes/Transform3D.xml
@@ -80,7 +80,7 @@
<return type="bool" />
<param index="0" name="xform" type="Transform3D" />
<description>
- Returns [code]true[/code] if this transform and [code]transform[/code] are approximately equal, by calling [code]is_equal_approx[/code] on each component.
+ Returns [code]true[/code] if this transform and [param xform] are approximately equal, by calling [code]is_equal_approx[/code] on each component.
</description>
</method>
<method name="is_finite" qualifiers="const">