This commit is contained in:
mjz
2026-10-11 19:29:49 +08:00
commit 80b9d9047a
2123 changed files with 1025725 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
var PI2 = Math.PI * 2;
export function normalizeRadian(angle) {
angle %= PI2;
if (angle < 0) {
angle += PI2;
}
return angle;
}