Jelajahi Sumber

Clarify Transform.xform_inv docs

kleonc 4 tahun lalu
induk
melakukan
c20d097636
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      doc/classes/Transform.xml
  2. 1 1
      doc/classes/Transform2D.xml

+ 1 - 1
doc/classes/Transform.xml

@@ -168,7 +168,7 @@
 			<argument index="0" name="v" type="Variant">
 			</argument>
 			<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>

+ 1 - 1
doc/classes/Transform2D.xml

@@ -172,7 +172,7 @@
 			<argument index="0" name="v" type="Variant">
 			</argument>
 			<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>