Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Sep 20, 2024
1 parent 23e15ef commit c947cc9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,6 @@ macro limit(name, min, max=nothing)
return esc( :($name = clamp($name, $min, $max)) )
end

"""
wrap2pi(angle)
Convert an angle in an infinite range to the range from -pi to pi
"""
function wrap2pi(angle)
num2pi = floor(angle / 2π + 0.5)
angle - 2π * num2pi
end

"""
merge_angles(alpha, beta, factor_beta)
Expand Down

0 comments on commit c947cc9

Please sign in to comment.