Blender Git Commit Log
Git Commits -> Revision b944510
Revision b944510 by Campbell Barton (master) November 30, 2013, 11:00 (GMT) |
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. |
Commit Details:
Full Hash: b9445106b23b0da0436bcca7be0131b577980a5a
Parent Commit: bf55eeb
Lines Changed: +421, -0
2 Added Paths:
/source/blender/blenlib/BLI_polyfill2d.h (+44, -0) (View)
/source/blender/blenlib/intern/polyfill2d.c (+375, -0) (View)
/source/blender/blenlib/intern/polyfill2d.c (+375, -0) (View)
1 Modified Path:
/source/blender/blenlib/CMakeLists.txt (+2, -0) (Diff)