Error in panolens.js file
Opened this issue · 3 comments
abdulrahmanmokhlef commented
I faced this error when I use a simple panolens
Uncaught TypeError: Class constructor Wn cannot be invoked without 'new'
at y.n [as constructor] (panolens.min.js:7)
at new y (panolens.min.js:9)
ericklarsen commented
it might be related to your three.js version
abdulrahmanmokhlef commented
Thank you, I'll chek that
bearoxo commented
It's caused by three.js version not matching with panolens. Go to panolens homepage inspect and you will see scripts, right click on three.js one open "reveal in source panel" copy and paste that three.min.js into yours and it will work