提交 0704c6aa 编写于 作者: M Mr.doob

SEA3DLoader: Using THREE.PositionalAudio. FYI @sunag.

上级 438c7b19
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册