summaryrefslogtreecommitdiff
path: root/client/splash/face
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-27 19:10:16 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-27 19:10:16 +0100
commit618af6682e6de7662da961abd7e7de3a2f996bac (patch)
tree6595cb673033c194d8e3b6d2bc91ed6a3dd8d160 /client/splash/face
parent215b201bdc4d2ddcc36c83c86b6e8133d5ad4add (diff)
render smaller tag cloud
Diffstat (limited to 'client/splash/face')
-rw-r--r--client/splash/face/index.js5
-rw-r--r--client/splash/face/markers.js1
-rw-r--r--client/splash/face/mesh.js8
3 files changed, 14 insertions, 0 deletions
diff --git a/client/splash/face/index.js b/client/splash/face/index.js
new file mode 100644
index 00000000..fe21f52b
--- /dev/null
+++ b/client/splash/face/index.js
@@ -0,0 +1,5 @@
+import DRACOLoader from '../../util/vendor/DRACOLoader'
+import GeometryHelper from '../../util/vendor/geometryHelper'
+
+DRACOLoader.setDecoderPath('/assets/js/vendor/draco/')
+var dracoLoader = new THREE.DRACOLoader();
diff --git a/client/splash/face/markers.js b/client/splash/face/markers.js
new file mode 100644
index 00000000..a71f5a82
--- /dev/null
+++ b/client/splash/face/markers.js
@@ -0,0 +1 @@
+import { MeshLine, MeshLineMaterial } from 'three.meshline'
diff --git a/client/splash/face/mesh.js b/client/splash/face/mesh.js
new file mode 100644
index 00000000..14aa7e6e
--- /dev/null
+++ b/client/splash/face/mesh.js
@@ -0,0 +1,8 @@
+import DRACOLoader from '../../util/vendor/DRACOLoader'
+import GeometryHelper from '../../util/vendor/geometryHelper'
+
+DRACOLoader.setDecoderPath('/assets/js/vendor/draco/')
+
+const dracoLoader = new DRACOLoader()
+
+DRACOLoader.getDecoderModule()