Gregg Tavares пре 3 година
родитељ
комит
c993638ff7

+ 2 - 2
threejs/lessons/threejs-game.md

@@ -246,7 +246,7 @@ the utils.
 import * as THREE from './resources/three/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-+import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
++import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 ```
 
 Then we can clone the models we just loaded
@@ -1681,7 +1681,7 @@ we've used else where
 import * as THREE from './resources/three/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 +import {GUI} from '../3rdparty/dat.gui.module.js';
 ```
 

+ 1 - 1
threejs/threejs-game-check-animations.html

@@ -77,7 +77,7 @@
 import * as THREE from './resources/threejs/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 
 function main() {
   const canvas = document.querySelector('#c');

+ 1 - 1
threejs/threejs-game-conga-line-w-notes.html

@@ -152,7 +152,7 @@
 import * as THREE from './resources/threejs/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 import {GUI} from '../3rdparty/dat.gui.module.js';
 
 function main() {

+ 1 - 1
threejs/threejs-game-conga-line.html

@@ -152,7 +152,7 @@
 import * as THREE from './resources/threejs/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 import {GUI} from '../3rdparty/dat.gui.module.js';
 
 function main() {

+ 1 - 1
threejs/threejs-game-just-player.html

@@ -83,7 +83,7 @@
 import * as THREE from './resources/threejs/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 
 function main() {
   const canvas = document.querySelector('#c');

+ 1 - 1
threejs/threejs-game-load-models.html

@@ -77,7 +77,7 @@
 import * as THREE from './resources/threejs/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 
 function main() {
   const canvas = document.querySelector('#c');

+ 1 - 1
threejs/threejs-game-player-input.html

@@ -123,7 +123,7 @@
 import * as THREE from './resources/threejs/r132/build/three.module.js';
 import {OrbitControls} from './resources/threejs/r132/examples/jsm/controls/OrbitControls.js';
 import {GLTFLoader} from './resources/threejs/r132/examples/jsm/loaders/GLTFLoader.js';
-import {SkeletonUtils} from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
+import * as SkeletonUtils from './resources/threejs/r132/examples/jsm/utils/SkeletonUtils.js';
 
 function main() {
   const canvas = document.querySelector('#c');