scoping problem in the callback
nicolaisi opened this issue · 4 comments
nicolaisi commented
Uncaught TypeError: THREE.OrbitControls is not a function
nicolaisi commented
It's not the scoping problem, the dependency is missing.
stanislavHamara commented
How was this solved?
nicolaisi commented
Apparently the readme is not updated, the orbitcontrol js is not included. So its not a scoping problem. What problem you're facing? Is it from this library or its a general scoping problem?
nicolaisi commented
I'll update the readme by end of today and you can follow the dependency installation to get this library running.