Skip to content

Commit

Permalink
Examples: Clean up. (#24793)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Oct 13, 2022
1 parent 0432e2f commit 68d0fb6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/webgl_loader_gltf_instancing.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
<script type="importmap">
{
"imports": {
"three": "../build/three.module.js"
"three": "../build/three.module.js",
"three/addons/": "./jsm/"
}
}
</script>
Expand All @@ -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;

Expand All @@ -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();

Expand Down

0 comments on commit 68d0fb6

Please sign in to comment.