Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-11-30 14:55:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-30 15:00:01 +0400
commitb9445106b23b0da0436bcca7be0131b577980a5a (patch)
tree1613d906ae4ee8459bbb4fec308005c3dce9a01c /source/blender/blenlib/CMakeLists.txt
parentbf55eeb2163c3afd12db36b9f48d48d998aa21a2 (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/blenlib/CMakeLists.txt')
-rw-r--r--source/blender/blenlib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt
index d855d45760a..00adb375c41 100644
--- a/source/blender/blenlib/CMakeLists.txt
+++ b/source/blender/blenlib/CMakeLists.txt
@@ -82,6 +82,7 @@ set(SRC
intern/md5.c
intern/noise.c
intern/path_util.c
+ intern/polyfill2d.c
intern/quadric.c
intern/rand.c
intern/rct.c
@@ -148,6 +149,7 @@ set(SRC
BLI_mempool.h
BLI_noise.h
BLI_path_util.h
+ BLI_polyfill2d.h
BLI_quadric.h
BLI_rand.h
BLI_rect.h