summaryrefslogtreecommitdiff
path: root/client/splash/renderer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-28 20:28:36 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-28 20:28:36 +0100
commit121cfd1b48254b54730ba323f0b60872f1c782d9 (patch)
tree11508bb76d3fee81afe94ac62e80b13674162540 /client/splash/renderer.js
parentde877acdb34a5e07ce6b7b9d21b9ca720181594d (diff)
more
Diffstat (limited to 'client/splash/renderer.js')
-rw-r--r--client/splash/renderer.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/client/splash/renderer.js b/client/splash/renderer.js
index 5e973d77..14326f77 100644
--- a/client/splash/renderer.js
+++ b/client/splash/renderer.js
@@ -21,9 +21,6 @@ lights[0].position.set(3, 3, 3).normalize()
lights[1].position.set(-3, -3, -3).normalize()
lights.forEach(light => scene.add(light))
-var ambient = new THREE.AmbientLight( 0x555555 );
-scene.add(ambient);
-
export function init() {
const container = document.querySelector('#three_container')
container.appendChild(renderer.domElement)
@@ -37,8 +34,3 @@ export function init() {
export function render() {
renderer.render(scene, camera)
}
-
-
-window.scene = scene
-window.THREE = THREE
-