feat: removed search tanks

This commit is contained in:
TrèsAbhi committed 2024-03-08 20:43:30 -06:00
1 parent 3181f9c4e7
commit 4fedaf1cea
8 files changed
+101 -69

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
export function normalizeAngleRad(angle: number) {
const newAngle = angle % (2 * Math.PI);
if (newAngle > Math.PI) return newAngle - 2 * Math.PI;
if (newAngle < -Math.PI) return newAngle + 2 * Math.PI;
return newAngle;
}