Question

I've started creating nice 3d objects with Three.js. Now I'm trying to do a subtract as in the given example at: https://github.com/stemkoski/stemkoski.github.com/blob/master/Three.js/CSG.html But I'm getting an error in the library:

Uncaught TypeError: undefined is not a function ThreeCSG.js:215
window.ThreeBSP.ThreeBSP.toMesh                 ThreeCSG.js:215

What I'm trying to achieve is a quarter of a circle that a smaller circle is subtracted from it (so as to create the form of a bow).

Here's the plunkr. http://plnkr.co/edit/lUxq0Oh1aXbRVd4c2rKG?p=preview

Any idea why the error is caused?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top