Browse Source

don't render walls

previous commit makes real walls
Stephen McQuay 2 years ago
parent
commit
76ee015c0b
No known key found for this signature in database
1 changed files with 0 additions and 18 deletions
  1. 0
    18
      ui/js/gorobots_render_webgl.js

+ 0
- 18
ui/js/gorobots_render_webgl.js View File

@@ -202,24 +202,6 @@ var gorobots_render_webgl = function(){
202 202
         my.wallobjy = new THREE.CubeGeometry(3, my.height, 3);
203 203
         var material = new THREE.MeshLambertMaterial( { color: "#cccccc" } );
204 204
 
205
-        my.wall = new THREE.Mesh(my.wallobjx, material);
206
-        my.wall.position.x = my.width / 2;
207
-        my.scene.add(my.wall);
208
-
209
-        my.wall2 = new THREE.Mesh(my.wallobjx, material);
210
-        my.wall2.position.x = my.width / 2;
211
-        my.wall2.position.y = my.height ;
212
-        my.scene.add(my.wall2);
213
-
214
-        my.wall3 = new THREE.Mesh(my.wallobjy, material);
215
-        my.wall3.position.y = my.height / 2;
216
-        my.scene.add(my.wall3);
217
-
218
-        my.wall4 = new THREE.Mesh(my.wallobjy, material);
219
-        my.wall4.position.y = my.height / 2;
220
-        my.wall4.position.x = my.width ;
221
-        my.scene.add(my.wall4);
222
-
223 205
         my.scene.add(my.camera);
224 206
         var directionalLight = new THREE.DirectionalLight( 0xffffff, 0.9 );
225 207
         directionalLight.position.set( 0, 0, -1 );

Loading…
Cancel
Save