From e7a58a7eb6d45b530eeaea88cfa29adcd8df02f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 5 May 2022 13:25:04 +0200 Subject: Core: Rename math 'phi' arguments to 'angle' --- modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs | 8 ++++---- modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs | 4 ++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'modules/mono') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs index 656796c5c7..37bdc42c2d 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs @@ -526,10 +526,10 @@ namespace Godot /// /// Introduce an additional rotation around the given - /// by (in radians). The axis must be a normalized vector. + /// by (in radians). The axis must be a normalized vector. /// /// The axis to rotate around. Must be normalized. - /// The angle to rotate, in radians. + /// The angle to rotate, in radians. /// The rotated basis matrix. public Basis Rotated(Vector3 axis, real_t phi) { @@ -770,10 +770,10 @@ namespace Godot /// /// Constructs a pure rotation basis matrix, rotated around the given - /// by (in radians). The axis must be a normalized vector. + /// by (in radians). The axis must be a normalized vector. /// /// The axis to rotate around. Must be normalized. - /// The angle to rotate, in radians. + /// The angle to rotate, in radians. public Basis(Vector3 axis, real_t phi) { Vector3 axisSq = new Vector3(axis.x * axis.x, axis.y * axis.y, axis.z * axis.z); diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs index 8e253388bf..89947899cb 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform2D.cs @@ -297,9 +297,9 @@ namespace Godot } /// - /// Rotates the transform by (in radians), using matrix multiplication. + /// Rotates the transform by (in radians), using matrix multiplication. /// - /// The angle to rotate, in radians. + /// The angle to rotate, in radians. /// The rotated transformation matrix. public Transform2D Rotated(real_t phi) { diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs index 5d9aabdd2f..7b211b6577 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs @@ -186,11 +186,11 @@ namespace Godot } /// - /// Rotates the transform around the given by (in radians), + /// Rotates the transform around the given by (in radians), /// using matrix multiplication. The axis must be a normalized vector. /// /// The axis to rotate around. Must be normalized. - /// The angle to rotate, in radians. + /// The angle to rotate, in radians. /// The rotated transformation matrix. public Transform3D Rotated(Vector3 axis, real_t phi) { diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs index d4b623b2ea..9e990ce83e 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs @@ -470,9 +470,9 @@ namespace Godot } /// - /// Rotates this vector by radians. + /// Rotates this vector by radians. /// - /// The angle to rotate by, in radians. + /// The angle to rotate by, in radians. /// The rotated vector. public Vector2 Rotated(real_t phi) { diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs index eddfa76f10..56859da7f2 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs @@ -488,11 +488,11 @@ namespace Godot } /// - /// Rotates this vector around a given vector by radians. + /// Rotates this vector around a given vector by (in radians). /// The vector must be a normalized vector. /// /// The vector to rotate around. Must be normalized. - /// The angle to rotate by, in radians. + /// The angle to rotate by, in radians. /// The rotated vector. public Vector3 Rotated(Vector3 axis, real_t phi) { -- cgit v1.2.3