Mugen87 7 лет назад
Родитель
Сommit
8dd5dde579
2 измененных файлов с 9 добавлено и 9 удалено
  1. 8 8
      examples/webaudio_sandbox.html
  2. 1 1
      examples/webgl_lights_hemisphere.html

+ 8 - 8
examples/webaudio_sandbox.html

@@ -152,20 +152,20 @@
 
 				//
 
-    		var SoundControls = function() {
+				var SoundControls = function() {
 
-					   this.master = listener.getMasterVolume();
-					   this.firstSphere =  sound1.getVolume();
-					   this.secondSphere =  sound2.getVolume();
-					   this.thirdSphere = sound3.getVolume();
-					   this.Ambient =  sound4.getVolume();
+					this.master = listener.getMasterVolume();
+					this.firstSphere =  sound1.getVolume();
+					this.secondSphere =  sound2.getVolume();
+					this.thirdSphere = sound3.getVolume();
+					this.Ambient =  sound4.getVolume();
 
 				};
 
 				var GeneratorControls = function() {
 
-					   this.frequency = oscillator.frequency.value;
-					   this.wavetype = oscillator.type;
+					this.frequency = oscillator.frequency.value;
+					this.wavetype = oscillator.type;
 
 				};
 

+ 1 - 1
examples/webgl_lights_hemisphere.html

@@ -141,7 +141,7 @@
 				dirLight.shadow.camera.far = 3500;
 				dirLight.shadow.bias = -0.0001;
 
-				dirLightHeper = new THREE.DirectionalLightHelper( dirLight, 10 )
+				dirLightHeper = new THREE.DirectionalLightHelper( dirLight, 10 );
 				scene.add( dirLightHeper );
 
 				// GROUND