diff --git a/src/pixi/DisplayObject.js b/src/pixi/DisplayObject.js index c9146fa..fa15e81 100644 --- a/src/pixi/DisplayObject.js +++ b/src/pixi/DisplayObject.js @@ -84,7 +84,7 @@ // TODO OPTIMIZE THIS!! with dirty if(this.rotation != this.rotationCache) { - this.rotationCach = this.rotation; + this.rotationCache = this.rotation; this._sr = Math.sin(this.rotation); this._cr = Math.cos(this.rotation); } @@ -103,4 +103,4 @@ // TODO optimize? mat3.multiply(this.localTransform, this.parent.worldTransform, this.worldTransform); this.worldAlpha = this.alpha * this.parent.worldAlpha; -} \ No newline at end of file +}