Skip to content

Commit

Permalink
Merge pull request #1221 from Joeywp/patch-1
Browse files Browse the repository at this point in the history
Fix #1112
  • Loading branch information
goldfire authored Nov 22, 2019
2 parents 0030d02 + 7296dda commit 1007c7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/howler.spatial.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@
self.ctx.listener.forwardX.setTargetAtTime(x, Howler.ctx.currentTime, 0.1);
self.ctx.listener.forwardY.setTargetAtTime(y, Howler.ctx.currentTime, 0.1);
self.ctx.listener.forwardZ.setTargetAtTime(z, Howler.ctx.currentTime, 0.1);
self.ctx.listener.upX.setTargetAtTime(x, Howler.ctx.currentTime, 0.1);
self.ctx.listener.upY.setTargetAtTime(y, Howler.ctx.currentTime, 0.1);
self.ctx.listener.upZ.setTargetAtTime(z, Howler.ctx.currentTime, 0.1);
self.ctx.listener.upX.setTargetAtTime(xUp, Howler.ctx.currentTime, 0.1);
self.ctx.listener.upY.setTargetAtTime(yUp, Howler.ctx.currentTime, 0.1);
self.ctx.listener.upZ.setTargetAtTime(zUp, Howler.ctx.currentTime, 0.1);
} else {
self.ctx.listener.setOrientation(x, y, z, xUp, yUp, zUp);
}
Expand Down

0 comments on commit 1007c7f

Please sign in to comment.