25 unsigned int coords_num,
26 unsigned int (*tris)[3],
53#define BLI_polyfill_beautify_quad_rotate_calc(v1, v2, v3, v4) \
54 BLI_polyfill_beautify_quad_rotate_calc_ex(v1, v2, v3, v4, false, NULL)
57#define BLI_POLYFILL_ALLOC_NGON_RESERVE 64
void BLI_polyfill_beautify(const float(*coords)[2], unsigned int coords_num, unsigned int(*tris)[3], 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], bool lock_degenerate, float *r_area)
ATTR_WARN_UNUSED_RESULT const BMVert * v2