Fix T45706: Axis aligned tri-tri intersection
This commit is contained in:
parent
7c352ed43a
commit
cd8581af8e
Notes:
blender-bot
2023-02-14 09:48:25 +01:00
Referenced by issue #45706, [mathutils.bvhtree]: Overlay function is inaccurate on elements in which one of its bound volume dimensions is equal to zero
|
@ -1522,7 +1522,7 @@ bool isect_tri_tri_epsilon_v3(
|
|||
isect_co, isect_co_other,
|
||||
tri_pair[t][j], tri_pair[t][j_prev],
|
||||
ix_span, ix_tri,
|
||||
epsilon) == 2)
|
||||
epsilon) != 0)
|
||||
{
|
||||
const float edge_fac = line_point_factor_v3(ix_tri, tri_pair[t][j], tri_pair[t][j_prev]);
|
||||
if (edge_fac >= -epsilon && edge_fac <= 1.0f + epsilon) {
|
||||
|
|
Loading…
Reference in New Issue