Most examples are broken on the examples site
drone1 opened this issue · comments
I'm getting errors on almost all examples. Complaints about OrbitControls; probably a simple fix:
root.js:56 Uncaught TypeError: THREE.OrbitControls is not a constructor
at THREERoot.createOrbitControls (root.js:56:21)
at new THREERoot (root.js:52:39)
at init (main.js:4:14)
Made a PR for that.
Thank you. Eagerly awaiting deployment of the site so I can check the examples :)
In the mean time, you can still run the project locally and replace
<script src="https://unpkg.com/three/examples/js/controls/OrbitControls.js"></script>
by
<script src="https://unpkg.com/three@0.144.0/examples/js/controls/OrbitControls.js"></script>
in the examples index.html files to avoid the issue