From 0bfc52b02b14b18e77a9598aeb7d16ff157bb0ae Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Fri, 21 Jul 2023 08:31:48 -0500 Subject: [PATCH] Fixes to existing C# documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • changes instances of `see paramref` to `paramref name` • specifies `real_t` for ambiguous methods --- modules/mono/glue/GodotSharp/GodotSharp/Core/Aabb.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs | 2 +- .../mono/glue/GodotSharp/GodotSharp/Core/Projection.cs | 2 +- .../mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs | 2 +- .../mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs | 4 ++-- .../mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs | 8 ++++---- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2I.cs | 2 +- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs | 8 ++++---- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3I.cs | 2 +- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4.cs | 8 ++++---- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4I.cs | 2 +- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Aabb.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Aabb.cs index af83cc24bf..d25944dceb 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Aabb.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Aabb.cs @@ -564,7 +564,7 @@ namespace Godot /// /// Returns if this is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -683,7 +683,7 @@ namespace Godot /// /// Returns if the AABB is exactly equal - /// to the given object (). + /// to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs index 74425c9835..d53dd9a9af 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs @@ -596,7 +596,7 @@ namespace Godot /// /// Returns if this basis is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -1083,7 +1083,7 @@ namespace Godot /// /// Returns if the is - /// exactly equal to the given object (). + /// exactly equal to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs index 55b7a83fc2..3c7455a76c 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs @@ -204,7 +204,7 @@ namespace Godot /// /// Returns if this plane is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Projection.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Projection.cs index 84fc73b87a..998a2786a7 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Projection.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Projection.cs @@ -976,7 +976,7 @@ namespace Godot /// /// Returns if the projection is exactly equal - /// to the given object (). + /// to the given object (). /// /// The object to compare with. /// Whether or not the vector and the object are equal. diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs index 9c2a6fc654..2e282447bd 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs @@ -103,7 +103,7 @@ namespace Godot /// /// Note: This method has an abnormally high amount /// of floating-point error, so methods such as - /// will not work reliably. + /// will not work reliably. /// /// The other quaternion. /// The angle between the quaternions. @@ -320,7 +320,7 @@ namespace Godot /// /// Returns if this quaternion is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs index 69444f8035..458802f95d 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Rect2.cs @@ -102,7 +102,7 @@ namespace Godot /// /// Returns if this is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public bool IsFinite() diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs index d7392dbda8..618c892681 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs @@ -232,7 +232,7 @@ namespace Godot /// /// Returns if this transform is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -586,7 +586,7 @@ namespace Godot /// /// Returns if the transform is exactly equal - /// to the given object (). + /// to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs index ae2c025137..b16e6e592e 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs @@ -156,7 +156,7 @@ namespace Godot /// /// Returns if this transform is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -613,7 +613,7 @@ namespace Godot /// /// Returns if the transform is exactly equal - /// to the given object (). + /// to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs index 0bf8f25f06..642ef231f3 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs @@ -164,7 +164,7 @@ namespace Godot /// /// Returns a new vector with all components rounded up (towards positive infinity). /// - /// A vector with called on each component. + /// A vector with called on each component. public readonly Vector2 Ceil() { return new Vector2(Mathf.Ceil(X), Mathf.Ceil(Y)); @@ -318,7 +318,7 @@ namespace Godot /// /// Returns a new vector with all components rounded down (towards negative infinity). /// - /// A vector with called on each component. + /// A vector with called on each component. public readonly Vector2 Floor() { return new Vector2(Mathf.Floor(X), Mathf.Floor(Y)); @@ -335,7 +335,7 @@ namespace Godot /// /// Returns if this vector is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -948,7 +948,7 @@ namespace Godot /// /// Returns if the vector is exactly equal - /// to the given object (). + /// to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2I.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2I.cs index 0dac8205b6..231e791904 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2I.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2I.cs @@ -517,7 +517,7 @@ namespace Godot /// /// Returns if the vector is equal - /// to the given object (). + /// to the given object (). /// /// The object to compare with. /// Whether or not the vector and the object are equal. diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs index d929b5c6ab..7d548f1d10 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs @@ -150,7 +150,7 @@ namespace Godot /// /// Returns a new vector with all components rounded up (towards positive infinity). /// - /// A vector with called on each component. + /// A vector with called on each component. public readonly Vector3 Ceil() { return new Vector3(Mathf.Ceil(X), Mathf.Ceil(Y), Mathf.Ceil(Z)); @@ -315,7 +315,7 @@ namespace Godot /// /// Returns a new vector with all components rounded down (towards negative infinity). /// - /// A vector with called on each component. + /// A vector with called on each component. public readonly Vector3 Floor() { return new Vector3(Mathf.Floor(X), Mathf.Floor(Y), Mathf.Floor(Z)); @@ -332,7 +332,7 @@ namespace Godot /// /// Returns if this vector is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -1050,7 +1050,7 @@ namespace Godot /// /// Returns if the vector is exactly equal - /// to the given object (). + /// to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3I.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3I.cs index a2927533f8..8543052f56 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3I.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3I.cs @@ -572,7 +572,7 @@ namespace Godot /// /// Returns if the vector is equal - /// to the given object (). + /// to the given object (). /// /// The object to compare with. /// Whether or not the vector and the object are equal. diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4.cs index 1fd39632b0..10a0b14162 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4.cs @@ -147,7 +147,7 @@ namespace Godot /// /// Returns a new vector with all components rounded up (towards positive infinity). /// - /// A vector with called on each component. + /// A vector with called on each component. public readonly Vector4 Ceil() { return new Vector4(Mathf.Ceil(X), Mathf.Ceil(Y), Mathf.Ceil(Z), Mathf.Ceil(W)); @@ -264,7 +264,7 @@ namespace Godot /// /// Returns a new vector with all components rounded down (towards negative infinity). /// - /// A vector with called on each component. + /// A vector with called on each component. public readonly Vector4 Floor() { return new Vector4(Mathf.Floor(X), Mathf.Floor(Y), Mathf.Floor(Z), Mathf.Floor(W)); @@ -281,7 +281,7 @@ namespace Godot /// /// Returns if this vector is finite, by calling - /// on each component. + /// on each component. /// /// Whether this vector is finite or not. public readonly bool IsFinite() @@ -832,7 +832,7 @@ namespace Godot /// /// Returns if the vector is exactly equal - /// to the given object (). + /// to the given object (). /// Note: Due to floating-point precision errors, consider using /// instead, which is more reliable. /// diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4I.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4I.cs index bb552b939d..f813903177 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4I.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector4I.cs @@ -593,7 +593,7 @@ namespace Godot /// /// Returns if the vector is equal - /// to the given object (). + /// to the given object (). /// /// The object to compare with. /// Whether or not the vector and the object are equal.