Browse Source

SEA3DLoader: Using THREE.PositionalAudio. FYI @sunag.

Mr.doob 9 years ago
parent
commit
0704c6aae8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/sea3d/SEA3DLoader.js

+ 1 - 1
examples/js/loaders/sea3d/SEA3DLoader.js

@@ -1402,7 +1402,7 @@ THREE.SEA3D.prototype.readSoundPoint = function( sea ) {
 
 	}
 
-	var sound3d = new THREE.Audio( this.audioListener );
+	var sound3d = new THREE.PositionalAudio( this.audioListener );
 
 	sound3d.load( sea.sound.tag );
 	sound3d.autoplay = sea.autoPlay;