Skip to content

Commit

Permalink
fix(playcanvas): fix typo in multiply
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTelanie committed Oct 6, 2019
1 parent 5b5d129 commit 5fba42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter/playcanvas.js
Expand Up @@ -88,7 +88,7 @@ export function hijackPlayCanvas(pc) {
};

Quat.prototype.multiply = function (other, y, z, w) {
if (other && typeof other.z === 'number') {
if (other && typeof other.w === 'number') {
return this.multiplyQuaternion(other);
}
return this.multiplyQuaternion(pc.quat(other, y, z, w));
Expand Down

0 comments on commit 5fba42d

Please sign in to comment.