mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
feat: removed search tanks
This commit is contained in:
1 parent
3181f9c4e7
commit
4fedaf1cea
8 files changed
+101
-69
No files matched your search
@@ -1,4 +1,4 @@
|
||||
export function normalizeAnglePI(angle: number) {
|
||||
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;
|
||||
Reference in new issue
Block a user