Clarify Transform.xform_inv docs

(cherry picked from commit c20d097636)
This commit is contained in:
kleonc 2021-06-16 19:22:41 +02:00 committed by Rémi Verschelde
parent 3d0676a588
commit d3b0436cfb
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@
<return type="Variant" />
<argument index="0" name="v" type="Variant" />
<description>
Inverse-transforms the given [Vector3], [Plane], [AABB], or [PoolVector3Array] by this transform.
Inverse-transforms the given [Vector3], [Plane], [AABB], or [PoolVector3Array] by this transform, under the assumption that the transformation is composed of rotation and translation (no scaling). Equivalent to calling [code]inverse().xform(v)[/code] on this transform. For affine transformations (e.g. with scaling) see [method affine_inverse] method.
</description>
</method>
</methods>

View file

@ -138,7 +138,7 @@
<return type="Variant" />
<argument index="0" name="v" type="Variant" />
<description>
Inverse-transforms the given [Vector2], [Rect2], or [PoolVector2Array] by this transform.
Inverse-transforms the given [Vector2], [Rect2], or [PoolVector2Array] by this transform, under the assumption that the transformation is composed of rotation and translation (no scaling). Equivalent to calling [code]inverse().xform(v)[/code] on this transform. For affine transformations (e.g. with scaling) see [method affine_inverse] method.
</description>
</method>
</methods>