diff options
Diffstat (limited to 'client/splash/index.js')
| -rw-r--r-- | client/splash/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
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() } |
