Is the Line library available as an ES6 module?

Hi. I am enjoying three.js a lot!. Super productive . Question: I do development using modern JS (ES6, webpack, etc.). I have a version of three.js in module form (cool). I have not been able to find a module form of the line library - LineSegmentsGeometry LineGeometry, etc. Any suggestions on how to proceed? Thanks.


It seems TheJim01 provided a good answer at stackoverflow.

It’s pretty easy to convert files like LineSegmentGeometry.js to modules. I describe how to do it for OrbitControls.js here, the process will be pretty similar:


Puuuurrrrfect. Cheers. :+1:t5:

1 Like