comment source of idea

This commit is contained in:
Filip Sykala - NTB T15p 2022-11-29 13:39:28 +01:00
parent 676a77fbf9
commit d330bbc54b

View File

@ -3,6 +3,8 @@
using namespace Slic3r;
// inspired by nanosvgrast.h function nsvgRasterize -> nsvg__flattenShape -> nsvg__flattenCubicBez
// https://github.com/memononen/nanosvg/blob/f0a3e1034dd22e2e87e5db22401e44998383124e/src/nanosvgrast.h#L335
void NSVGUtils::flatten_cubic_bez(Polygon &polygon,
float tessTol,
Vec2f p1,