gkjohnson / three-bvh-csg

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

Add ability to get both portions of geometry out in one pass #105

Closed gkjohnson closed 10 months ago

gkjohnson commented 1 year ago

Ie with a "INTERSECTION" operation - you should be able to get the difference and the intersection. Or both portions of the model that make the whole with the "SUBTRACTION" operation.

Operation Complement
SUBTRACTION INTERSECTION
INTERSECTION SUBTRACTION
ADDITION N/A
DIFFERENCE N/A