diff options
Diffstat (limited to 'public/vendor/three-setup.js')
| -rw-r--r-- | public/vendor/three-setup.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/vendor/three-setup.js b/public/vendor/three-setup.js index 7fe818a..c69cc2e 100644 --- a/public/vendor/three-setup.js +++ b/public/vendor/three-setup.js @@ -1,7 +1,9 @@ import * as THREE from 'three'; import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'; import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; +import { DRACOLoader } from 'three/addons/loaders/DRACOLoader.js'; window.THREE = THREE; window.GLTFLoader = GLTFLoader; window.OrbitControls = OrbitControls; +window.DRACOLoader = DRACOLoader; |
