How can I select a line object in threeJS?
I attempted to use raycaster for this purpose.
http://jsfiddle.net/nelsonlbtn/z43hjqm9/43/
Upon running the test, I encountered the following error:
three.min.js:598 Uncaught TypeError: d.distanceTo is not a function
at pb.distanceSqToSegment (three.min.js:598)
at pa.raycast (three.min.js:650)
at xe (three.min.js:295)
at uf.intersectObjects (three.min.js:863)
at HTMLDocument.moveMouse ((index):107)
Any suggestions for a solution to this issue?