From 9ad9dfd423d39da19403d5c45ca1d8a1dba8628b Mon Sep 17 00:00:00 2001 From: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:40:46 +0100 Subject: [PATCH 1/3] Improve the definition of atan2() --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index ab484e1812e7b..64db51364ea31 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -678,7 +678,7 @@ interface Math { */ atan(x: number): number; /** - * Returns the angle (in radians) from the X axis to a point. + * Returns the angle (in radians) between the X axis and a line going through the given point. * @param y A numeric expression representing the cartesian y-coordinate. * @param x A numeric expression representing the cartesian x-coordinate. */ From 3f1d7565257b20e8cad006f8aadb1cc3b0db70de Mon Sep 17 00:00:00 2001 From: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:07:14 +0100 Subject: [PATCH 2/3] Improve atan2() description --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 64db51364ea31..27c66252d547f 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -678,7 +678,7 @@ interface Math { */ atan(x: number): number; /** - * Returns the angle (in radians) between the X axis and a line going through the given point. + * Returns the angle (in radians) between the X axis and a line going through both the origin and the given point. * @param y A numeric expression representing the cartesian y-coordinate. * @param x A numeric expression representing the cartesian x-coordinate. */ From 1deaad6ea435c04eb523a129370741b7569e8b70 Mon Sep 17 00:00:00 2001 From: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:07:51 +0100 Subject: [PATCH 3/3] Update es5.d.ts --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 27c66252d547f..963f6ad24f1a7 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -678,7 +678,7 @@ interface Math { */ atan(x: number): number; /** - * Returns the angle (in radians) between the X axis and a line going through both the origin and the given point. + * Returns the angle (in radians) between the X axis and the line going through both the origin and the given point. * @param y A numeric expression representing the cartesian y-coordinate. * @param x A numeric expression representing the cartesian x-coordinate. */