summaryrefslogtreecommitdiff
path: root/public/vendor/three-setup.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/three-setup.js')
-rw-r--r--public/vendor/three-setup.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/vendor/three-setup.js b/public/vendor/three-setup.js
new file mode 100644
index 0000000..a7a7c0b
--- /dev/null
+++ b/public/vendor/three-setup.js
@@ -0,0 +1,5 @@
+import * as THREE from 'three';
+import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
+
+window.THREE = THREE;
+window.GLTFLoader = GLTFLoader;