diff --git a/examples/webgl_loader_gltf_instancing.html b/examples/webgl_loader_gltf_instancing.html index ec9546df337a59..0121991a00b36f 100644 --- a/examples/webgl_loader_gltf_instancing.html +++ b/examples/webgl_loader_gltf_instancing.html @@ -22,7 +22,8 @@ @@ -31,9 +32,9 @@ import * as THREE from 'three'; - import { OrbitControls } from './jsm/controls/OrbitControls.js'; - import { GLTFLoader } from './jsm/loaders/GLTFLoader.js'; - import { RGBELoader } from './jsm/loaders/RGBELoader.js'; + import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; + import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'; + import { RGBELoader } from 'three/addons/loaders/RGBELoader.js'; let camera, scene, renderer; @@ -46,7 +47,7 @@ document.body.appendChild( container ); camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.25, 20 ); - camera.position.set( - 0.90, 0.41, -0.89 ); + camera.position.set( - 0.90, 0.41, - 0.89 ); scene = new THREE.Scene();