Skip to content

Commit 2e45866

Browse files
committed
fix: remove debug panic
1 parent 83f2b52 commit 2e45866

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

bezier.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ func quadraticBezier(x0, y0, x1, y1, x2, y2, ds float64, p []Point) {
1111
return
1212
}
1313
canUseBezierKernel = false
14-
panic(err)
1514
}
1615
quadraticBezierPlatform(x0, y0, x1, y1, x2, y2, ds, p)
1716
}
@@ -23,7 +22,6 @@ func cubicBezier(x0, y0, x1, y1, x2, y2, x3, y3, ds float64, p []Point) {
2322
return
2423
}
2524
canUseBezierKernel = false
26-
panic(err)
2725
}
2826
cubicBezierPlatform(x0, y0, x1, y1, x2, y2, x3, y3, ds, p)
2927
}

0 commit comments

Comments
 (0)