three-bvh-csg
three-bvh-csg copied to clipboard
three-mesh-bvh: triangles that meet on an edge return an incorrect edge

Brush1 Tri: 8
new THREE.Triangle(
new THREE.Vector3( -0.5, 0.5, 0.5 ),
new THREE.Vector3( -0.5, -0.5, 0.5 ),
new THREE.Vector3( 0.5, 0.5, 0.5 ),
)
Brush2 Tri: 9
new THREE.Triangle(
new THREE.Vector3( -1.25, 0.25, 0.5 ),
new THREE.Vector3( -0.25, 0.25, 0.5 ),
new THREE.Vector3( -0.25, 1.25, 0.5 ),
)
This is occurring because coplanar results are not supported with the clip. Somewhat alleviated with https://github.com/gkjohnson/three-mesh-bvh/pull/436:
