From 00c200530778b7c36d4f8b1ef2b5623216b543c0 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Sun, 24 Dec 2017 13:12:07 -0800 Subject: [DOCS] minor corrections to Transform2D --- doc/classes/Transform2D.xml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml index 17576f33ed..f4717aa995 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -4,7 +4,7 @@ 2D Transformation. 3x2 matrix. - Represents one or many transformations in 3D space such as translation, rotation, or scaling. It consists of a two [Vector2] x, y and [Vector2] "origin". It is similar to a 3x2 matrix. + Represents one or many transformations in 2D space such as translation, rotation, or scaling. It consists of a two [Vector2] x, y and [Vector2] "origin". It is similar to a 3x2 matrix. @@ -17,7 +17,7 @@ - Constructs the [code]Transform2D[/code] from a 3D [Transform]. + Constructs the transform from a 3D [Transform]. @@ -30,7 +30,7 @@ - Constructs the [code]Transform2D[/code] from 3 [Vector2] consisting of rows x, y and origin. + Constructs the transform from 3 [Vector2]s representing x, y, and origin. @@ -41,7 +41,7 @@ - Constructs the [code]Transform2D[/code] from rotation angle in radians and position [Vector2]. + Constructs the transform from a given angle (in radians) and position. @@ -57,7 +57,7 @@ - Transforms the given vector "v" by this transform basis (no translation). + Transforms the given vector by this transform's basis (no translation). @@ -66,21 +66,21 @@ - Inverse-transforms the given vector "v" by this transform basis (no translation). + Inverse-transforms the given vector by this transform's basis (no translation). - Returns the origin [Vector2] (translation). + Returns the transform's origin (translation). - Returns the rotation (in radians). + Returns the transform's rotation (in radians). @@ -98,7 +98,7 @@ - Interpolates the transform to other Transform2D by weight amount (0-1). + Returns a transform interpolated between this transform and another by a given weight (0-1). @@ -121,7 +121,7 @@ - Rotates the transform by phi. + Rotates the transform by the given angle (in radians). @@ -130,7 +130,7 @@ - Scales the transform by the specified 2D scaling factors. + Scales the transform by the given factor. @@ -139,7 +139,7 @@ - Translates the transform by the specified offset. + Translates the transform by the given offset. @@ -163,13 +163,13 @@ - The translation offset of the transform. + The transform's translation offset. - The X axis of 2x2 basis matrix containing 2 [Vector2] as its columns: X axis and Y axis. These vectors can be interpreted as the basis vectors of local coordinate system traveling with the object. + The X axis of 2x2 basis matrix containing 2 [Vector2]s as its columns: X axis and Y axis. These vectors can be interpreted as the basis vectors of local coordinate system traveling with the object. - The Y axis of 2x2 basis matrix containing 2 [Vector2] as its columns: X axis and Y axis. These vectors can be interpreted as the basis vectors of local coordinate system traveling with the object. + The Y axis of 2x2 basis matrix containing 2 [Vector2]s as its columns: X axis and Y axis. These vectors can be interpreted as the basis vectors of local coordinate system traveling with the object. -- cgit v1.2.3