|
@@ -12,7 +12,7 @@ function PositionalAudio( listener ) {
|
|
Audio.call( this, listener );
|
|
Audio.call( this, listener );
|
|
|
|
|
|
this.panner = this.context.createPanner();
|
|
this.panner = this.context.createPanner();
|
|
- this.panningModel = 'HRTF';
|
|
|
|
|
|
+ this.panner.panningModel = 'HRTF';
|
|
this.panner.connect( this.gain );
|
|
this.panner.connect( this.gain );
|
|
|
|
|
|
}
|
|
}
|