From d3b0436cfb476392795a053452dfa649f2fad487 Mon Sep 17 00:00:00 2001 From: kleonc <9283098+kleonc@users.noreply.github.com> Date: Wed, 16 Jun 2021 19:22:41 +0200 Subject: [PATCH] Clarify Transform.xform_inv docs (cherry picked from commit c20d0976362784411780f3dd41414e06373aad0e) --- doc/classes/Transform.xml | 2 +- doc/classes/Transform2D.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Transform.xml b/doc/classes/Transform.xml index 1a86190d1a6..f6113ef0d0e 100644 --- a/doc/classes/Transform.xml +++ b/doc/classes/Transform.xml @@ -132,7 +132,7 @@ - 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. diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml index 603d9bfdb6b..93b79b2a024 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -138,7 +138,7 @@ - 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.