From 76ee015c0b7f0428906753e21522772db8047036 Mon Sep 17 00:00:00 2001 From: stephen mcquay Date: Wed, 13 Jul 2016 12:17:09 -0600 Subject: [PATCH] don't render walls previous commit makes real walls --- ui/js/gorobots_render_webgl.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ui/js/gorobots_render_webgl.js b/ui/js/gorobots_render_webgl.js index 41b0da3..bddf36f 100644 --- a/ui/js/gorobots_render_webgl.js +++ b/ui/js/gorobots_render_webgl.js @@ -202,24 +202,6 @@ var gorobots_render_webgl = function(){ my.wallobjy = new THREE.CubeGeometry(3, my.height, 3); var material = new THREE.MeshLambertMaterial( { color: "#cccccc" } ); - my.wall = new THREE.Mesh(my.wallobjx, material); - my.wall.position.x = my.width / 2; - my.scene.add(my.wall); - - my.wall2 = new THREE.Mesh(my.wallobjx, material); - my.wall2.position.x = my.width / 2; - my.wall2.position.y = my.height ; - my.scene.add(my.wall2); - - my.wall3 = new THREE.Mesh(my.wallobjy, material); - my.wall3.position.y = my.height / 2; - my.scene.add(my.wall3); - - my.wall4 = new THREE.Mesh(my.wallobjy, material); - my.wall4.position.y = my.height / 2; - my.wall4.position.x = my.width ; - my.scene.add(my.wall4); - my.scene.add(my.camera); var directionalLight = new THREE.DirectionalLight( 0xffffff, 0.9 ); directionalLight.position.set( 0, 0, -1 );