summaryrefslogtreecommitdiff
path: root/client/splash/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/splash/index.js')
-rw-r--r--client/splash/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/splash/index.js b/client/splash/index.js
index caa1d497..76c84ec0 100644
--- a/client/splash/index.js
+++ b/client/splash/index.js
@@ -6,6 +6,7 @@ import OrbitControls from 'three-orbitcontrols'
import { init, render, camera, renderer } from './renderer'
import * as cloud from './cloud'
+import * as face from './face'
const controls = new OrbitControls(camera, renderer.domElement)
controls.maxDistance = camera.far / 2
@@ -22,6 +23,7 @@ function animate() {
camera.rotation.y += 0.00001
controls.update()
+ cloud.update()
let cameraTarget = new Vector3(0, 0, 0)
camera.lookAt(cameraTarget)
@@ -32,6 +34,7 @@ function animate() {
function build() {
init()
cloud.init()
+ face.init()
animate()
}