Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cpaczek/skylight
/ norm180
Function
norm180
shared/src/aim.ts:32–35 ·
view source on GitHub ↗
(d: number)
Source
from the content-addressed store, hash-verified
30
31
/** Normalize to (-180, 180]. */
32
export
function
norm180(d: number): number {
33
const
n = norm360(d);
34
return
n > 180 ? n - 360 : n;
35
}
36
37
export
type
Vec3 = [number, number, number];
38
Callers
15
autocal.test.ts
File · 0.85
pipeline.test.ts
File · 0.85
planner.test.ts
File · 0.85
approach
Function · 0.85
tick
Method · 0.85
visionTick
Method · 0.85
predictAim
Function · 0.85
trySolve
Method · 0.85
rmsUnder
Function · 0.85
velocity
Method · 0.85
update
Method · 0.85
select
Method · 0.85
Calls
1
norm360
Function · 0.70
Tested by
1
approach
Function · 0.68