diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-29 20:39:26 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-29 20:39:26 +0100 |
| commit | a852b97060727428b8be55717b9dca4149f4368a (patch) | |
| tree | cecc93c412117021c4201b72189844fe6377f79a /client/splash/renderer.js | |
| parent | 20c04cbe5d5d4072bcb2bd098fc9dd88577398cb (diff) | |
add modal
Diffstat (limited to 'client/splash/renderer.js')
| -rw-r--r-- | client/splash/renderer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/splash/renderer.js b/client/splash/renderer.js index 14326f77..fbb27b40 100644 --- a/client/splash/renderer.js +++ b/client/splash/renderer.js @@ -21,7 +21,7 @@ lights[0].position.set(3, 3, 3).normalize() lights[1].position.set(-3, -3, -3).normalize() lights.forEach(light => scene.add(light)) -export function init() { +export function appendRenderer() { const container = document.querySelector('#three_container') container.appendChild(renderer.domElement) window.addEventListener('resize', () => { |
