Skip to content

Commit 2827ea2

Browse files
committed
bugfix
1 parent a7e3b1e commit 2827ea2

File tree

2 files changed

+140
-139
lines changed

2 files changed

+140
-139
lines changed

glutil-transform.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ Transform.prototype.getMatrix=function(){
332332
GLMath.quatToMat4(this.rotation));
333333
// 3. scaling
334334
GLMath.mat4scaleInPlace(this.matrix,this.scale);
335+
var m=this.matrix;
335336
this._isIdentity=(
336337
m[0]==1 && m[1]==0 && m[2]==0 && m[3]==0 &&
337338
m[4]==0 && m[5]==1 && m[6]==0 && m[7]==0 &&

0 commit comments

Comments
 (0)