Use https://github.com/Jiro-Digital/three-csg-ts or https://github.com/miho/JCSG as inspiration.
In order to implement it, one needs to create a custom version of Composite that accepts two GeometrySolids instead of simple solids and implements GeometrySolid itself.
Use https://github.com/Jiro-Digital/three-csg-ts or https://github.com/miho/JCSG as inspiration.
In order to implement it, one needs to create a custom version of
Compositethat accepts twoGeometrySolids instead of simple solids and implementsGeometrySoliditself.