fix for is_quad_convex_v3(), getting the dominant axis wasn't accurate enough in...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 9 Feb 2013 07:59:56 +0000 (07:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 9 Feb 2013 07:59:56 +0000 (07:59 +0000)
commitd03befd0dbe97b8b72817137c1b76e6396262292
tree15cd07a980986e1e391c17948aa1564b7cbd9574
parent2eab18dc324dea3d517937845534bc30992a733b
fix for is_quad_convex_v3(), getting the dominant axis wasn't accurate enough in some cases and would make beauty fill fail.
now rotate the coords before calculation.
source/blender/blenlib/BLI_math_geom.h
source/blender/blenlib/intern/math_geom.c
source/blender/bmesh/intern/bmesh_polygon.c