Errors when adding orbitalcontrols.js

Try it with these two imports:

<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/controls/OrbitControls.js"></script>

In general it makes no sense to import library files from different CDNs. And it’s definitely wrong to import three.js files from different releases.

1 Like