From 0ca96ae2c16621115f3cc251cad0a5bad345ba09 Mon Sep 17 00:00:00 2001 From: mega-bit Date: Wed, 22 Jul 2020 22:46:04 +0200 Subject: [PATCH] Fix typos in GodotSharp code docs --- modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs | 2 +- modules/mono/glue/GodotSharp/GodotSharp/Core/Quat.cs | 2 +- modules/mono/glue/GodotSharp/GodotSharp/Core/Transform.cs | 4 ++-- .../mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs index 16c666b8ebc..5aba31c6224 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs @@ -554,7 +554,7 @@ namespace Godot /// Returns a vector transformed (multiplied) by the basis matrix. /// /// A vector to transform. - /// The transfomed vector. + /// The transformed vector. public Vector3 Xform(Vector3 v) { return new Vector3 @@ -572,7 +572,7 @@ namespace Godot /// basis matrix only if it represents a rotation-reflection. /// /// A vector to inversely transform. - /// The inversely transfomed vector. + /// The inversely transformed vector. public Vector3 XformInv(Vector3 v) { return new Vector3 diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs index 3b4e749532c..2f8b5f297c3 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs @@ -109,7 +109,7 @@ namespace Godot /// /// Returns the shortest distance from this plane to the position `point`. /// - /// The position to use for the calcualtion. + /// The position to use for the calculation. /// The shortest distance. public real_t DistanceTo(Vector3 point) { diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Quat.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Quat.cs index 7c978801bd8..b33490f9cb6 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Quat.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Quat.cs @@ -299,7 +299,7 @@ namespace Godot /// Returns a vector transformed (multiplied) by this quaternion. /// /// A vector to transform. - /// The transfomed vector. + /// The transformed vector. public Vector3 Xform(Vector3 v) { #if DEBUG diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform.cs index 98d4b92bd19..ac47f6029fa 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform.cs @@ -248,7 +248,7 @@ namespace Godot /// Returns a vector transformed (multiplied) by this transformation matrix. /// /// A vector to transform. - /// The transfomed vector. + /// The transformed vector. public Vector3 Xform(Vector3 v) { return new Vector3 @@ -266,7 +266,7 @@ namespace Godot /// transformation matrix only if it represents a rotation-reflection. /// /// A vector to inversely transform. - /// The inversely transfomed vector. + /// The inversely transformed vector. public Vector3 XformInv(Vector3 v) { Vector3 vInv = v - origin; diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs index 9f9ae50c59b..06bbe984974 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs @@ -181,7 +181,7 @@ namespace Godot /// This method does not account for translation (the origin vector). /// /// A vector to transform. - /// The transfomed vector. + /// The transformed vector. public Vector2 BasisXform(Vector2 v) { return new Vector2(Tdotx(v), Tdoty(v)); @@ -195,7 +195,7 @@ namespace Godot /// basis matrix only if it represents a rotation-reflection. /// /// A vector to inversely transform. - /// The inversely transfomed vector. + /// The inversely transformed vector. public Vector2 BasisXformInv(Vector2 v) { return new Vector2(x.Dot(v), y.Dot(v)); @@ -355,7 +355,7 @@ namespace Godot /// Returns a vector transformed (multiplied) by this transformation matrix. /// /// A vector to transform. - /// The transfomed vector. + /// The transformed vector. public Vector2 Xform(Vector2 v) { return new Vector2(Tdotx(v), Tdoty(v)) + origin; @@ -365,7 +365,7 @@ namespace Godot /// Returns a vector transformed (multiplied) by the inverse transformation matrix. /// /// A vector to inversely transform. - /// The inversely transfomed vector. + /// The inversely transformed vector. public Vector2 XformInv(Vector2 v) { Vector2 vInv = v - origin;