Rename indetityMatrix -> identityMatrix
This commit is contained in:
parent
54bf9b96b3
commit
2940cfcb7b
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ PIXI.RenderTexture = function(width, height, renderer)
|
|||
this.width = width || 100;
|
||||
this.height = height || 100;
|
||||
|
||||
this.indetityMatrix = PIXI.mat3.create();
|
||||
this.identityMatrix = PIXI.mat3.create();
|
||||
|
||||
this.frame = new PIXI.Rectangle(0, 0, this.width, this.height);
|
||||
|
||||
|
@ -124,7 +124,7 @@ PIXI.RenderTexture.prototype.renderWebGL = function(displayObject, position, cle
|
|||
|
||||
//TODO -? create a new one??? dont think so!
|
||||
var originalWorldTransform = displayObject.worldTransform;
|
||||
displayObject.worldTransform = PIXI.mat3.create();//sthis.indetityMatrix;
|
||||
displayObject.worldTransform = PIXI.mat3.create();//this.identityMatrix;
|
||||
// modify to flip...
|
||||
displayObject.worldTransform[4] = -1;
|
||||
displayObject.worldTransform[5] = this.projection.y * -2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue