diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-30 14:55:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-30 15:00:01 +0400 |
commit | b9445106b23b0da0436bcca7be0131b577980a5a (patch) | |
tree | 1613d906ae4ee8459bbb4fec308005c3dce9a01c /source/blender/bmesh/intern | |
parent | bf55eeb2163c3afd12db36b9f48d48d998aa21a2 (diff) |
Geometry API: polyfill2d, ear clipping polygon filling functions.
Simple/predictable polygon filling functions (no hole support)
originally from libgdx which have some advantages over scanfill.
- always creates the same number of triangles (never any missing faces).
- gives same results for any affine transformation.
- doesn't give so many skinny faces by default.
made some changes for Blender.
- remove last ears first (less to memmove)
- step over the ears while clipping to avoid some verts becoming fans to most of the other.
Diffstat (limited to 'source/blender/bmesh/intern')
0 files changed, 0 insertions, 0 deletions