gkjohnson / three-bvh-csg

A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh
MIT License
602 stars 46 forks source link

attempt to fix coplanar on subtraction #92

Closed cm-jchen closed 1 year ago

cm-jchen commented 1 year ago

Trying to Fixes #87

gkjohnson commented 1 year ago

Thanks! I need to think about the solution more. It's possible that a better solution is to detect coplanar faces ahead of time and track them separately so there's no risk of handling them incorrectly due to numerical precision in the existing clip method.

gkjohnson commented 1 year ago

Fixed in #98