Skip to content

Commit dc04c8d

Browse files
committed
chore(state): remove unused function
1 parent 732cd01 commit dc04c8d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/state/state.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -392,16 +392,6 @@ func HeadVec2(angle float64) Vec2 {
392392
}
393393
}
394394

395-
func signum(x float64) float64 {
396-
if x > 0 {
397-
return 1
398-
}
399-
if x < 0 {
400-
return -1
401-
}
402-
return 0
403-
}
404-
405395
func wrapAngle(angle float64) float64 {
406396
// Wrap angle to [-π, π]
407397
wrapped := math.Mod(angle+math.Pi, 2*math.Pi)

0 commit comments

Comments
 (0)