From bb6fbc64ae2bf4d1cba4a4b6f1831e6df58e2e6b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 6 May 2016 00:37:31 +1000 Subject: [PATCH] Docs: scanfill.c purpose --- source/blender/blenlib/intern/scanfill.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index e913499ba2b..4406a45d4fc 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -28,6 +28,15 @@ /** \file blender/blenlib/intern/scanfill.c * \ingroup bli + * + * Triangulate multiple 2D/3D polygon with support for holes, + * use for tessellating curves, fonts and geometry. + * See main function #BLI_scanfill_calc + * + * Uses sweep-line method. + * + * \note There is a similar API in polyfill2d.c + * which uses ear clipping, but has no hole support. */ #include