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>2014-06-14 01:22:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-14 02:21:52 +0400
commit19b1da2b7b73c227807e4fc343efd88914a624cf (patch)
tree9534a95f2d2a3a982d7c9b8e9974f80d678d213d /source/blender/blenlib/BLI_polyfill2d.h
parent7529e36f493c7fa0f61255274afdfa67a6dbd436 (diff)
Polyfill2d: avoid calculating polygon winding (its known in all cases)
Diffstat (limited to 'source/blender/blenlib/BLI_polyfill2d.h')
-rw-r--r--source/blender/blenlib/BLI_polyfill2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_polyfill2d.h b/source/blender/blenlib/BLI_polyfill2d.h
index bdc9c105d05..5c5cea8f67d 100644
--- a/source/blender/blenlib/BLI_polyfill2d.h
+++ b/source/blender/blenlib/BLI_polyfill2d.h
@@ -26,6 +26,7 @@ struct MemArena;
void BLI_polyfill_calc_arena(
const float (*coords)[2],
const unsigned int coords_tot,
+ const int coords_sign,
unsigned int (*r_tris)[3],
struct MemArena *arena);
@@ -33,6 +34,7 @@ void BLI_polyfill_calc_arena(
void BLI_polyfill_calc(
const float (*coords)[2],
const unsigned int coords_tot,
+ const int coords_sign,
unsigned int (*r_tris)[3]);
#endif /* __BLI_POLYFILL2D_H__ */