Closed cm-jchen closed 1 year ago
I think the COPLANAR Case is just not handled. If I add this line 268, it solves this but it will create triangles on the two side of the box.
but it will create triangles on the two side of the box
The two-sidedness is the reason this is only performed in the non-inverted case. It seems that floating point errors are causing issues here, though, which will need to be figured out.
Not sure if this PR will solve most of the case, but comparing the normal from the planes to determine whether is should be adding a triangle or skipping a triangle. This way can avoid creating triangles on the two side of the box
Hi there,
When intersecting with 2 boxes, three-bvh-csg can't really to figure out coplanar. Not sure if this is related to #69. Any suggestion how we can handle this case?