jmlien / acd2d

Approximate Convex Decomposition of Polygons
MIT License
42 stars 20 forks source link

Honoring input scale #4

Open yycho0108 opened 5 years ago

yycho0108 commented 5 years ago

Currently, the application implicitly overrides the input scale by the polygon radius, and the output .poly file scale is different from the input. Since this is confusing for use-cases where the polygon's scale matters, I figured it might be useful to track the normalization scale factor and apply it back when saving the decomposed version to a file.