Closed williamleong closed 3 years ago
Assertion min_edge >= 0. The assert happens for large polygons when the distance squared returned by jcv_length_sq is always larger than the initial value of min_dist. Replaced min_dist initial value of 1000000 with JCV_FLT_MAX.
Good find! Thank you @williamleong !
Assertion min_edge >= 0. The assert happens for large polygons when the distance squared returned by jcv_length_sq is always larger than the initial value of min_dist. Replaced min_dist initial value of 1000000 with JCV_FLT_MAX.