Skip to content

Commit

Permalink
Fix scale API in transtion.interpret
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvaldman committed Oct 19, 2016
1 parent a27aaf8 commit 34ab1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samsara/core/Transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ define(function(require, exports, module) {
var R = Transform.compose(Q, T);

//remove negative scaling
var remover = Transform.scale(R[0] < 0 ? -1 : 1, R[5] < 0 ? -1 : 1, R[10] < 0 ? -1 : 1);
var remover = Transform.scale([R[0] < 0 ? -1 : 1, R[5] < 0 ? -1 : 1, R[10] < 0 ? -1 : 1]);
R = Transform.compose(R, remover);
Q = Transform.compose(remover, Q);

Expand Down

0 comments on commit 34ab1a6

Please sign in to comment.