egui icon indicating copy to clipboard operation
egui copied to clipboard

fix bezier curve assertion fail

Open lictex opened this issue 3 years ago • 0 comments

bezier curve can cause assertion fail and panic in some edge cases (typically when there are overlapping points).

example

image

this patch adds a check to ensure that there are enough points in the curve flatten result.

lictex avatar Dec 26 '22 08:12 lictex