From 68d0fb6a80d83d2647eb344958e0fec77ce24871 Mon Sep 17 00:00:00 2001 From: Michael Herzog Date: Thu, 13 Oct 2022 20:34:53 +0200 Subject: [PATCH] Examples: Clean up. (#24793) --- examples/webgl_loader_gltf_instancing.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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();