Skip to content

Commit

Permalink
Reduce sandbox size
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Nov 30, 2015
1 parent ec81755 commit dbfbab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/RiftSandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function (
this.scene = new THREE.Scene();

this.camera = new THREE.PerspectiveCamera(
75, this.width / this.height, 0.1, 1000);
75, this.width / this.height, 0.1, 200);
this.scene.add(this.camera);

this.controls = new THREE.VRControls(this.camera);
Expand All @@ -72,10 +72,10 @@ function (

groundTexture.anisotropy = maxAnisotropy;
groundTexture.wrapS = groundTexture.wrapT = THREE.RepeatWrapping;
groundTexture.repeat.set( 1000, 1000 );
groundTexture.repeat.set( 200, 200 );

var ground = new THREE.Mesh(
new THREE.PlaneBufferGeometry( 1000, 1000 ),
new THREE.PlaneBufferGeometry( 200, 200 ),
new THREE.MeshBasicMaterial({map: groundTexture}) );
ground.rotation.x = -Math.PI / 2;
this.scene.add(ground);
Expand Down

0 comments on commit dbfbab5

Please sign in to comment.