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:
Diffstat (limited to 'source/blender/blenlib/BLI_polyfill_2d_beautify.h')
-rw-r--r--source/blender/blenlib/BLI_polyfill_2d_beautify.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/source/blender/blenlib/BLI_polyfill_2d_beautify.h b/source/blender/blenlib/BLI_polyfill_2d_beautify.h
index bf46431f90b..f815459fdf5 100644
--- a/source/blender/blenlib/BLI_polyfill_2d_beautify.h
+++ b/source/blender/blenlib/BLI_polyfill_2d_beautify.h
@@ -24,22 +24,23 @@
struct Heap;
struct MemArena;
-void BLI_polyfill_beautify(
- const float (*coords)[2],
- const unsigned int coords_tot,
- unsigned int (*tris)[3],
-
- /* structs for reuse */
- struct MemArena *arena, struct Heap *eheap);
-
-float BLI_polyfill_beautify_quad_rotate_calc_ex(
- const float v1[2], const float v2[2], const float v3[2], const float v4[2],
- const bool lock_degenerate);
+void BLI_polyfill_beautify(const float (*coords)[2],
+ const unsigned int coords_tot,
+ unsigned int (*tris)[3],
+
+ /* structs for reuse */
+ struct MemArena *arena,
+ struct Heap *eheap);
+
+float BLI_polyfill_beautify_quad_rotate_calc_ex(const float v1[2],
+ const float v2[2],
+ const float v3[2],
+ const float v4[2],
+ const bool lock_degenerate);
#define BLI_polyfill_beautify_quad_rotate_calc(v1, v2, v3, v4) \
- BLI_polyfill_beautify_quad_rotate_calc_ex(v1, v2, v3, v4, false)
-
+ BLI_polyfill_beautify_quad_rotate_calc_ex(v1, v2, v3, v4, false)
/* avoid realloc's when creating new structures for polyfill ngons */
#define BLI_POLYFILL_ALLOC_NGON_RESERVE 64
-#endif /* __BLI_POLYFILL_2D_BEAUTIFY_H__ */
+#endif /* __BLI_POLYFILL_2D_BEAUTIFY_H__ */