@immugio/three-math-extensions 0.2.1 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -2
- package/cjs/Vec2.js +8 -0
- package/cjs/index.js +5 -1
- package/cjs/normalizeAngleDegrees.js +7 -0
- package/cjs/normalizeAngleRadians.js +12 -0
- package/esm/Vec2.js +8 -0
- package/esm/index.js +2 -0
- package/esm/normalizeAngleDegrees.js +3 -0
- package/esm/normalizeAngleRadians.js +8 -0
- package/package.json +1 -1
- package/src/Line2D.ts +10 -10
- package/src/Line3D.ts +2 -2
- package/src/Vec2.ts +9 -0
- package/src/index.ts +3 -1
- package/src/normalizeAngleDegrees.ts +3 -0
- package/src/normalizeAngleRadians.ts +9 -0
- package/types/Line2D.d.ts +10 -10
- package/types/Line3D.d.ts +2 -2
- package/types/Vec2.d.ts +4 -0
- package/types/index.d.ts +2 -0
- package/types/normalizeAngleDegrees.d.ts +1 -0
- package/types/normalizeAngleRadians.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,18 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
9
9
|
|
|
10
|
-
## [0.2.
|
|
10
|
+
## [0.2.3](https://github.com/Immugio/three-math-extensions/compare/16.15.10...0.2.3)
|
|
11
11
|
|
|
12
12
|
### Commits
|
|
13
13
|
|
|
14
14
|
- Add Rectangle, update Polygon [`58ee875`](https://github.com/Immugio/three-math-extensions/commit/58ee87539af8f9ade186e5250cba9e01926da514)
|
|
15
15
|
- Vec3, Line3D - update documentation [`67d9c32`](https://github.com/Immugio/three-math-extensions/commit/67d9c328e08cc0a5599932d2f0529e97f31c9213)
|
|
16
16
|
- Add Polygon [`629cff8`](https://github.com/Immugio/three-math-extensions/commit/629cff8ecbb963477e8ea76d7f8b16d95435cbad)
|
|
17
|
+
- Add Vec2.signedAngle [`863c8f2`](https://github.com/Immugio/three-math-extensions/commit/863c8f27f11288cbda535e21bb688206259269ed)
|
|
17
18
|
- Polygon from bounding size [`eae6701`](https://github.com/Immugio/three-math-extensions/commit/eae67012f57f426f8b5259b765000447ce06d608)
|
|
19
|
+
- Line2D and Line3D to return this instead of specific type [`761ef6a`](https://github.com/Immugio/three-math-extensions/commit/761ef6a9d8cc4e35120b666576794e521aa3b991)
|
|
18
20
|
- Add Polygon to exports [`ed66775`](https://github.com/Immugio/three-math-extensions/commit/ed66775c33e961835b23843222b822cfd9c16b1d)
|
|
19
21
|
- Vec2.fromPoint and Vec3.fromPoint should accept null [`4b871af`](https://github.com/Immugio/three-math-extensions/commit/4b871af297bdcbe8584f1e2b99d602247b77687c)
|
|
20
22
|
|
|
21
|
-
## [16.15.10](https://github.com/Immugio/three-math-extensions/compare/0.2.
|
|
23
|
+
## [16.15.10](https://github.com/Immugio/three-math-extensions/compare/0.2.2...16.15.10) - 2023-01-02
|
|
24
|
+
|
|
25
|
+
## [0.2.2](https://github.com/Immugio/three-math-extensions/compare/0.2.1...0.2.2) - 2023-04-11
|
|
26
|
+
|
|
27
|
+
### Commits
|
|
28
|
+
|
|
29
|
+
- Line2D and Line3D to return this instead of specific type [`761ef6a`](https://github.com/Immugio/three-math-extensions/commit/761ef6a9d8cc4e35120b666576794e521aa3b991)
|
|
30
|
+
|
|
31
|
+
## [0.2.1](https://github.com/Immugio/three-math-extensions/compare/0.2.0...0.2.1) - 2023-03-28
|
|
32
|
+
|
|
33
|
+
### Commits
|
|
34
|
+
|
|
35
|
+
- Polygon from bounding size [`eae6701`](https://github.com/Immugio/three-math-extensions/commit/eae67012f57f426f8b5259b765000447ce06d608)
|
|
22
36
|
|
|
23
37
|
## [0.2.0](https://github.com/Immugio/three-math-extensions/compare/0.1.1...0.2.0) - 2023-02-28
|
|
24
38
|
|
package/cjs/Vec2.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Vec2 = void 0;
|
|
4
4
|
const three_1 = require("three");
|
|
5
5
|
const Vec3_1 = require("./Vec3");
|
|
6
|
+
const normalizeAngleRadians_1 = require("./normalizeAngleRadians");
|
|
6
7
|
/**
|
|
7
8
|
* Vec2 represents a 2D vector. It extends `Vector2` from the `threejs` library.
|
|
8
9
|
*/
|
|
@@ -58,5 +59,12 @@ class Vec2 extends three_1.Vector2 {
|
|
|
58
59
|
}
|
|
59
60
|
return this.distanceTo(v) <= maxDistance;
|
|
60
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns the angle between this vector and positive x-axis, the return value is between 0 and 2PI
|
|
64
|
+
*/
|
|
65
|
+
signedAngle() {
|
|
66
|
+
const signed_angle = Math.atan2(this.y, this.x) - Math.atan2(0, 1);
|
|
67
|
+
return (0, normalizeAngleRadians_1.normalizeAngleRadians)(signed_angle);
|
|
68
|
+
}
|
|
61
69
|
}
|
|
62
70
|
exports.Vec2 = Vec2;
|
package/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Rectangle = exports.BoundingBox = exports.Polygon = exports.Size2 = exports.Line3D = exports.Line2D = exports.Vec3 = exports.Vec2 = void 0;
|
|
3
|
+
exports.normalizeAngleRadians = exports.normalizeAngleDegrees = exports.Rectangle = exports.BoundingBox = exports.Polygon = exports.Size2 = exports.Line3D = exports.Line2D = exports.Vec3 = exports.Vec2 = void 0;
|
|
4
4
|
var Vec2_1 = require("./Vec2");
|
|
5
5
|
Object.defineProperty(exports, "Vec2", { enumerable: true, get: function () { return Vec2_1.Vec2; } });
|
|
6
6
|
var Vec3_1 = require("./Vec3");
|
|
@@ -17,3 +17,7 @@ var BoundingBox_1 = require("./BoundingBox");
|
|
|
17
17
|
Object.defineProperty(exports, "BoundingBox", { enumerable: true, get: function () { return BoundingBox_1.BoundingBox; } });
|
|
18
18
|
var Rectangle_1 = require("./Rectangle");
|
|
19
19
|
Object.defineProperty(exports, "Rectangle", { enumerable: true, get: function () { return Rectangle_1.Rectangle; } });
|
|
20
|
+
var normalizeAngleDegrees_1 = require("./normalizeAngleDegrees");
|
|
21
|
+
Object.defineProperty(exports, "normalizeAngleDegrees", { enumerable: true, get: function () { return normalizeAngleDegrees_1.normalizeAngleDegrees; } });
|
|
22
|
+
var normalizeAngleRadians_1 = require("./normalizeAngleRadians");
|
|
23
|
+
Object.defineProperty(exports, "normalizeAngleRadians", { enumerable: true, get: function () { return normalizeAngleRadians_1.normalizeAngleRadians; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.normalizeAngleRadians = void 0;
|
|
4
|
+
function normalizeAngleRadians(angle) {
|
|
5
|
+
const twoPi = 2 * Math.PI;
|
|
6
|
+
angle = angle % twoPi; // Use modulus to get the angle within the range of 0 to 2π
|
|
7
|
+
if (angle < 0) { // Add 2π if the angle is negative
|
|
8
|
+
angle = angle + twoPi;
|
|
9
|
+
}
|
|
10
|
+
return angle;
|
|
11
|
+
}
|
|
12
|
+
exports.normalizeAngleRadians = normalizeAngleRadians;
|
package/esm/Vec2.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Vector2 } from "three";
|
|
2
2
|
import { Vec3 } from "./Vec3";
|
|
3
|
+
import { normalizeAngleRadians } from "./normalizeAngleRadians";
|
|
3
4
|
/**
|
|
4
5
|
* Vec2 represents a 2D vector. It extends `Vector2` from the `threejs` library.
|
|
5
6
|
*/
|
|
@@ -55,4 +56,11 @@ export class Vec2 extends Vector2 {
|
|
|
55
56
|
}
|
|
56
57
|
return this.distanceTo(v) <= maxDistance;
|
|
57
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns the angle between this vector and positive x-axis, the return value is between 0 and 2PI
|
|
61
|
+
*/
|
|
62
|
+
signedAngle() {
|
|
63
|
+
const signed_angle = Math.atan2(this.y, this.x) - Math.atan2(0, 1);
|
|
64
|
+
return normalizeAngleRadians(signed_angle);
|
|
65
|
+
}
|
|
58
66
|
}
|
package/esm/index.js
CHANGED
|
@@ -6,3 +6,5 @@ export { Size2 } from "./Size2";
|
|
|
6
6
|
export { Polygon } from "./Polygon";
|
|
7
7
|
export { BoundingBox } from "./BoundingBox";
|
|
8
8
|
export { Rectangle } from "./Rectangle";
|
|
9
|
+
export { normalizeAngleDegrees } from "./normalizeAngleDegrees";
|
|
10
|
+
export { normalizeAngleRadians } from "./normalizeAngleRadians";
|
package/package.json
CHANGED
package/src/Line2D.ts
CHANGED
|
@@ -65,7 +65,7 @@ export class Line2D {
|
|
|
65
65
|
* Modifies this line.
|
|
66
66
|
* @param value
|
|
67
67
|
*/
|
|
68
|
-
public setCenter(value: Point2):
|
|
68
|
+
public setCenter(value: Point2): this {
|
|
69
69
|
this.center = value;
|
|
70
70
|
return this;
|
|
71
71
|
}
|
|
@@ -74,7 +74,7 @@ export class Line2D {
|
|
|
74
74
|
* Extends or reduces the line by the given length while keeping the center of the line constant.
|
|
75
75
|
* Modifies this line.
|
|
76
76
|
*/
|
|
77
|
-
public resize(amount: number):
|
|
77
|
+
public resize(amount: number): this {
|
|
78
78
|
this.moveStartPoint(amount / 2);
|
|
79
79
|
this.moveEndPoint(amount / 2);
|
|
80
80
|
return this;
|
|
@@ -84,7 +84,7 @@ export class Line2D {
|
|
|
84
84
|
* Moves start point on the line by the given amount. Plus values move the point further away from the center.
|
|
85
85
|
* Modifies this line.
|
|
86
86
|
*/
|
|
87
|
-
public moveStartPoint(amount: number):
|
|
87
|
+
public moveStartPoint(amount: number): this {
|
|
88
88
|
const p1 = this.movePointOnThisLine(this.start, amount);
|
|
89
89
|
this.start.copy(p1);
|
|
90
90
|
|
|
@@ -95,7 +95,7 @@ export class Line2D {
|
|
|
95
95
|
* Moves end point on the line by the given amount. Plus values move the point further away from the center.
|
|
96
96
|
* Modifies this line.
|
|
97
97
|
*/
|
|
98
|
-
public moveEndPoint(amount: number):
|
|
98
|
+
public moveEndPoint(amount: number): this {
|
|
99
99
|
const p2 = this.movePointOnThisLine(this.end, amount);
|
|
100
100
|
this.end.copy(p2);
|
|
101
101
|
|
|
@@ -152,7 +152,7 @@ export class Line2D {
|
|
|
152
152
|
* Inverts the direction of the line.
|
|
153
153
|
* Modifies this line.
|
|
154
154
|
*/
|
|
155
|
-
public flip():
|
|
155
|
+
public flip(): this {
|
|
156
156
|
const temp = this.start.clone();
|
|
157
157
|
this.start.copy(this.end);
|
|
158
158
|
this.end.copy(temp);
|
|
@@ -166,7 +166,7 @@ export class Line2D {
|
|
|
166
166
|
* @param radians Positive values rotate counter-clockwise.
|
|
167
167
|
* @param center
|
|
168
168
|
*/
|
|
169
|
-
public rotate(radians: number, center: Vec2 = this.center):
|
|
169
|
+
public rotate(radians: number, center: Vec2 = this.center): this {
|
|
170
170
|
this.start.rotateAround(center, radians);
|
|
171
171
|
this.end.rotateAround(center, radians);
|
|
172
172
|
|
|
@@ -177,7 +177,7 @@ export class Line2D {
|
|
|
177
177
|
* Move the line by the given vector.
|
|
178
178
|
* Modifies this line.
|
|
179
179
|
*/
|
|
180
|
-
public translate(value: Point2):
|
|
180
|
+
public translate(value: Point2): this {
|
|
181
181
|
this.start.x += value.x;
|
|
182
182
|
this.start.y += value.y;
|
|
183
183
|
this.end.x += value.x;
|
|
@@ -190,7 +190,7 @@ export class Line2D {
|
|
|
190
190
|
* Move the line to its left by the given amount.
|
|
191
191
|
* Modifies this line.
|
|
192
192
|
*/
|
|
193
|
-
public translateLeft(amount: number):
|
|
193
|
+
public translateLeft(amount: number): this {
|
|
194
194
|
const translation = this.direction.rotateAround(new Vec2(), -Math.PI / 2).multiplyScalar(amount);
|
|
195
195
|
return this.translate(translation);
|
|
196
196
|
}
|
|
@@ -199,7 +199,7 @@ export class Line2D {
|
|
|
199
199
|
* Move the line to its right by the given amount.
|
|
200
200
|
* Modifies this line.
|
|
201
201
|
*/
|
|
202
|
-
public translateRight(amount: number):
|
|
202
|
+
public translateRight(amount: number): this {
|
|
203
203
|
const translation = this.direction.rotateAround(new Vec2(), Math.PI / 2).multiplyScalar(amount);
|
|
204
204
|
return this.translate(translation);
|
|
205
205
|
}
|
|
@@ -578,7 +578,7 @@ export class Line2D {
|
|
|
578
578
|
* @param other
|
|
579
579
|
* @param maxDistanceToIntersection
|
|
580
580
|
*/
|
|
581
|
-
public extendToOrTrimAtIntersection(other: Line2D, maxDistanceToIntersection: number = Number.MAX_VALUE):
|
|
581
|
+
public extendToOrTrimAtIntersection(other: Line2D, maxDistanceToIntersection: number = Number.MAX_VALUE): this {
|
|
582
582
|
const intersection = this.intersect(other);
|
|
583
583
|
|
|
584
584
|
if (intersection) {
|
package/src/Line3D.ts
CHANGED
|
@@ -365,7 +365,7 @@ export class Line3D extends Line3 {
|
|
|
365
365
|
/*
|
|
366
366
|
* Moves start on the line by the given amount. Plus values move the point further away from the center.
|
|
367
367
|
*/
|
|
368
|
-
public moveStartPoint(amount: number):
|
|
368
|
+
public moveStartPoint(amount: number): this {
|
|
369
369
|
const start = this.movePointOnThisLine(this.start, amount);
|
|
370
370
|
this.start.x = start.x;
|
|
371
371
|
this.start.y = start.y;
|
|
@@ -377,7 +377,7 @@ export class Line3D extends Line3 {
|
|
|
377
377
|
/*
|
|
378
378
|
* Moves end on the line by the given amount in the current direction. Plus values move the point further away from the center.
|
|
379
379
|
*/
|
|
380
|
-
public moveEndPoint(amount: number):
|
|
380
|
+
public moveEndPoint(amount: number): this {
|
|
381
381
|
const end = this.movePointOnThisLine(this.end, amount);
|
|
382
382
|
this.end.x = end.x;
|
|
383
383
|
this.end.y = end.y;
|
package/src/Vec2.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Vector2 } from "three";
|
|
2
2
|
import { Vec3 } from "./Vec3";
|
|
3
3
|
import { Point2 } from "./Point2";
|
|
4
|
+
import { normalizeAngleRadians } from "./normalizeAngleRadians";
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Vec2 represents a 2D vector. It extends `Vector2` from the `threejs` library.
|
|
@@ -63,4 +64,12 @@ export class Vec2 extends Vector2 {
|
|
|
63
64
|
|
|
64
65
|
return this.distanceTo(v) <= maxDistance;
|
|
65
66
|
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Returns the angle between this vector and positive x-axis, the return value is between 0 and 2PI
|
|
70
|
+
*/
|
|
71
|
+
public signedAngle(): number {
|
|
72
|
+
const signed_angle = Math.atan2(this.y, this.x) - Math.atan2(0, 1);
|
|
73
|
+
return normalizeAngleRadians(signed_angle);
|
|
74
|
+
}
|
|
66
75
|
}
|
package/src/index.ts
CHANGED
|
@@ -5,4 +5,6 @@ export { Line3D } from "./Line3D";
|
|
|
5
5
|
export { Size2 } from "./Size2";
|
|
6
6
|
export { Polygon } from "./Polygon";
|
|
7
7
|
export { BoundingBox } from "./BoundingBox";
|
|
8
|
-
export { Rectangle } from "./Rectangle";
|
|
8
|
+
export { Rectangle } from "./Rectangle";
|
|
9
|
+
export { normalizeAngleDegrees } from "./normalizeAngleDegrees";
|
|
10
|
+
export { normalizeAngleRadians } from "./normalizeAngleRadians";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function normalizeAngleRadians(angle: number): number {
|
|
2
|
+
const twoPi = 2 * Math.PI;
|
|
3
|
+
angle = angle % twoPi; // Use modulus to get the angle within the range of 0 to 2π
|
|
4
|
+
if (angle < 0) { // Add 2π if the angle is negative
|
|
5
|
+
angle = angle + twoPi;
|
|
6
|
+
}
|
|
7
|
+
return angle;
|
|
8
|
+
}
|
|
9
|
+
|
package/types/Line2D.d.ts
CHANGED
|
@@ -27,14 +27,14 @@ export declare class Line2D {
|
|
|
27
27
|
* Modifies this line.
|
|
28
28
|
* @param value
|
|
29
29
|
*/
|
|
30
|
-
setCenter(value: Point2):
|
|
31
|
-
resize(amount: number):
|
|
32
|
-
moveStartPoint(amount: number):
|
|
30
|
+
setCenter(value: Point2): this;
|
|
31
|
+
resize(amount: number): this;
|
|
32
|
+
moveStartPoint(amount: number): this;
|
|
33
33
|
/**
|
|
34
34
|
* Moves end point on the line by the given amount. Plus values move the point further away from the center.
|
|
35
35
|
* Modifies this line.
|
|
36
36
|
*/
|
|
37
|
-
moveEndPoint(amount: number):
|
|
37
|
+
moveEndPoint(amount: number): this;
|
|
38
38
|
private movePointOnThisLine;
|
|
39
39
|
/**
|
|
40
40
|
* Set the length of this line. Center and direction remain unchanged.
|
|
@@ -61,29 +61,29 @@ export declare class Line2D {
|
|
|
61
61
|
* Inverts the direction of the line.
|
|
62
62
|
* Modifies this line.
|
|
63
63
|
*/
|
|
64
|
-
flip():
|
|
64
|
+
flip(): this;
|
|
65
65
|
/**
|
|
66
66
|
* Rotates the line around the center by the given angle in radians.
|
|
67
67
|
* Modifies this line.
|
|
68
68
|
* @param radians Positive values rotate counter-clockwise.
|
|
69
69
|
* @param center
|
|
70
70
|
*/
|
|
71
|
-
rotate(radians: number, center?: Vec2):
|
|
71
|
+
rotate(radians: number, center?: Vec2): this;
|
|
72
72
|
/**
|
|
73
73
|
* Move the line by the given vector.
|
|
74
74
|
* Modifies this line.
|
|
75
75
|
*/
|
|
76
|
-
translate(value: Point2):
|
|
76
|
+
translate(value: Point2): this;
|
|
77
77
|
/**
|
|
78
78
|
* Move the line to its left by the given amount.
|
|
79
79
|
* Modifies this line.
|
|
80
80
|
*/
|
|
81
|
-
translateLeft(amount: number):
|
|
81
|
+
translateLeft(amount: number): this;
|
|
82
82
|
/**
|
|
83
83
|
* Move the line to its right by the given amount.
|
|
84
84
|
* Modifies this line.
|
|
85
85
|
*/
|
|
86
|
-
translateRight(amount: number):
|
|
86
|
+
translateRight(amount: number): this;
|
|
87
87
|
/**
|
|
88
88
|
* Returns true when the point is actually inside the (finite) line segment.
|
|
89
89
|
* https://jsfiddle.net/c06zdxtL/2/
|
|
@@ -202,7 +202,7 @@ export declare class Line2D {
|
|
|
202
202
|
* @param other
|
|
203
203
|
* @param maxDistanceToIntersection
|
|
204
204
|
*/
|
|
205
|
-
extendToOrTrimAtIntersection(other: Line2D, maxDistanceToIntersection?: number):
|
|
205
|
+
extendToOrTrimAtIntersection(other: Line2D, maxDistanceToIntersection?: number): this;
|
|
206
206
|
/**
|
|
207
207
|
* Returns the intersection point of two lines. The lines are assumed to be infinite.
|
|
208
208
|
*/
|
package/types/Line3D.d.ts
CHANGED
|
@@ -112,8 +112,8 @@ export declare class Line3D extends Line3 {
|
|
|
112
112
|
*/
|
|
113
113
|
isParallelTo(other: Line3D, tolerance?: number): boolean;
|
|
114
114
|
resize(amount: number): this;
|
|
115
|
-
moveStartPoint(amount: number):
|
|
116
|
-
moveEndPoint(amount: number):
|
|
115
|
+
moveStartPoint(amount: number): this;
|
|
116
|
+
moveEndPoint(amount: number): this;
|
|
117
117
|
/**
|
|
118
118
|
* Returns a new line that is the projection of this line onto @other. Uses `closestPointToPoint` to find the projection.
|
|
119
119
|
* @param other
|
package/types/Vec2.d.ts
CHANGED
|
@@ -35,4 +35,8 @@ export declare class Vec2 extends Vector2 {
|
|
|
35
35
|
* maxDistance is the maximum distance between the two vectors within which they are considered `near`.
|
|
36
36
|
*/
|
|
37
37
|
isNear(v: Vector2, maxDistance?: number): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the angle between this vector and positive x-axis, the return value is between 0 and 2PI
|
|
40
|
+
*/
|
|
41
|
+
signedAngle(): number;
|
|
38
42
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -6,3 +6,5 @@ export { Size2 } from "./Size2";
|
|
|
6
6
|
export { Polygon } from "./Polygon";
|
|
7
7
|
export { BoundingBox } from "./BoundingBox";
|
|
8
8
|
export { Rectangle } from "./Rectangle";
|
|
9
|
+
export { normalizeAngleDegrees } from "./normalizeAngleDegrees";
|
|
10
|
+
export { normalizeAngleRadians } from "./normalizeAngleRadians";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeAngleDegrees(angle: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeAngleRadians(angle: number): number;
|