Explorar o código

Fix wrong hexa color, remove unnecessary semicolon, and remove wrong function call (called just below)

Tristan Valcke %!s(int64=8) %!d(string=hai) anos
pai
achega
8566c82528
Modificáronse 1 ficheiros con 3 adicións e 6 borrados
  1. 3 6
      examples/webgl_loader_sea3d_sound.html

+ 3 - 6
examples/webgl_loader_sea3d_sound.html

@@ -67,7 +67,7 @@
 	</head>
 	<body>
 		<div id="info">
-			<a href="http://threejs.org" target="_blank">three.js</a> - asset by <a href="https://github.com/sunag/sea3d" style="color:#FFFFF" target="_blank">sea3d</a>
+			<a href="http://threejs.org" target="_blank">three.js</a> - asset by <a href="https://github.com/sunag/sea3d" style="color:#FFFFFF" target="_blank">sea3d</a>
 		</div>
 
 		<div id="blocker">
@@ -108,9 +108,6 @@
 			var camera, scene, renderer, composer, controls, velocity;
 			var blocker, instructions;
 			var moveLeft, moveForward, moveBackward, moveRight;
-
-			initKeyDown
-
 			var loader;
 			var audioListener, soundFilter, soundAreaAnalyser, soundOutsideAnalyser;
 			var soundArea, collisionArea, lightArea, lightOutside;
@@ -290,7 +287,7 @@
 
 					}
 
-				};
+				}
 
 				function onKeyUp( event ) {
 
@@ -318,7 +315,7 @@
 
 					}
 
-				};
+				}
 
 				document.addEventListener( 'keydown', onKeyDown, false );
 				document.addEventListener( 'keyup', onKeyUp, false );