You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change to THREE.js recently changed the entire codebase to use modules, which means that it is currently not so simple to include code from examples (https://github.com/mrdoob/three.js/tree/dev/examples/js). Basically, you can no longer do THREE.TrackballControls = ...., which is what is breaking amd-three.js. More discussion on this here: mrdoob/three.js#9562
A quick fix is just to remove the TrackballControls from the project, or rename it to not be under the THREE namespace.
I'll do my best to fix this in the future, but it may take a little while. If you can get it working, I'd be very grateful for a pull request :)
When used with three.js revision 82, the "TrackballControls" is not loaded:
"Uncaught TypeError: THREE.TrackballControls is not a constructor"
The text was updated successfully, but these errors were encountered: