Skip to content

Commit

Permalink
remove deprecated Mat2f0 (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch authored Sep 28, 2022
1 parent f92f083 commit b6e8b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bezier.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const BezierCross = let

first_three = Point2[(r, ri), (ri, ri), (ri, r)]
all = map(0:pi/2:3pi/2) do a
m = Mat2f0(sin(a), cos(a), cos(a), -sin(a))
m = Mat2f(sin(a), cos(a), cos(a), -sin(a))
Ref(m) .* first_three
end |> x -> reduce(vcat, x)

Expand Down

0 comments on commit b6e8b37

Please sign in to comment.