cutechicken commited on
Commit
237d7d4
β€’
1 Parent(s): ba01407

Update game.js

Browse files
Files changed (1) hide show
  1. game.js +3 -3
game.js CHANGED
@@ -1,6 +1,6 @@
1
- import * as THREE from 'three';
2
- import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
3
- import { PointerLockControls } from 'three/addons/controls/PointerLockControls.js';
4
 
5
  // κ²Œμž„ μƒμˆ˜
6
  const GAME_DURATION = 180;
 
1
+ const THREE = window.THREE;
2
+ const GLTFLoader = window.THREE.GLTFLoader;
3
+ const PointerLockControls = window.THREE.PointerLockControls;
4
 
5
  // κ²Œμž„ μƒμˆ˜
6
  const GAME_DURATION = 180;