Skip to content

Commit b634eb6

Browse files
committed
Bump THREE to r87
1 parent adabe78 commit b634eb6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"present": "0.0.6",
4141
"promise-polyfill": "^3.1.0",
4242
"style-attr": "^1.0.2",
43-
"three": "^0.86.0",
43+
"three": "^0.87.0",
4444
"three-bmfont-text": "^2.1.0",
4545
"webvr-polyfill": "^0.9.36"
4646
},

src/components/gltf-model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports.Component = registerComponent('gltf-model', {
99

1010
init: function () {
1111
this.model = null;
12-
this.loader = new THREE.GLTF2Loader();
12+
this.loader = new THREE.GLTFLoader();
1313
},
1414

1515
update: function () {

src/lib/three.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (THREE.Cache) {
1919
}
2020

2121
// TODO: Eventually include these only if they are needed by a component.
22-
require('three/examples/js/loaders/GLTF2Loader'); // THREE.GLTF2Loader
22+
require('three/examples/js/loaders/GLTFLoader'); // THREE.GLTFLoader
2323
require('three/examples/js/loaders/OBJLoader'); // THREE.OBJLoader
2424
require('three/examples/js/loaders/MTLLoader'); // THREE.MTLLoader
2525
require('three/examples/js/loaders/ColladaLoader'); // THREE.ColladaLoader

0 commit comments

Comments
 (0)