瀏覽代碼

AudioListener: Added comment

Mugen87 7 年之前
父節點
當前提交
c24899b689
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/audio/AudioListener.js

+ 3 - 0
src/audio/AudioListener.js

@@ -111,6 +111,9 @@ AudioListener.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 			if ( listener.positionX ) {
 
+				// code path for Chrome (see #14393)
+				// right now, it is the only browser that supports AudioParam in AudioListener
+
 				var delta = clock.getDelta();
 				var endTime = this.context.currentTime + delta;