From 25b35038ae1f9cdfa222da44b7a4ddfd47713e3e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 27 Jan 2019 19:12:20 +0100 Subject: distribution --- client/splash/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/splash/index.js') diff --git a/client/splash/index.js b/client/splash/index.js index 4e168354..caa1d497 100644 --- a/client/splash/index.js +++ b/client/splash/index.js @@ -1,5 +1,6 @@ import oktween from '../util/vendor/oktween' +import { Vector3 } from 'three' import OrbitControls from 'three-orbitcontrols' import { init, render, camera, renderer } from './renderer' @@ -22,6 +23,9 @@ function animate() { controls.update() + let cameraTarget = new Vector3(0, 0, 0) + camera.lookAt(cameraTarget) + render() } -- cgit v1.2.3-70-g09d2