Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
peteroupc committed Apr 30, 2015
1 parent a7e3b1e commit 2827ea2
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 139 deletions.
1 change: 1 addition & 0 deletions glutil-transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ Transform.prototype.getMatrix=function(){
GLMath.quatToMat4(this.rotation));
// 3. scaling
GLMath.mat4scaleInPlace(this.matrix,this.scale);
var m=this.matrix;
this._isIdentity=(
m[0]==1 && m[1]==0 && m[2]==0 && m[3]==0 &&
m[4]==0 && m[5]==1 && m[6]==0 && m[7]==0 &&
Expand Down
Loading

0 comments on commit 2827ea2

Please sign in to comment.