diff --git a/src/core/display/Transform.js b/src/core/display/Transform.js index 21dd156..7be09db 100644 --- a/src/core/display/Transform.js +++ b/src/core/display/Transform.js @@ -1,5 +1,4 @@ -var math = require('../math'), - ObservablePoint = require('./ObservablePoint'); +var math = require('../math'); /** @@ -35,7 +34,7 @@ this.scale = new math.Point(1,1); - this.skew = new ObservablePoint(this.updateSkew, this, 0,0); + this.skew = new math.ObservablePoint(this.updateSkew, this, 0,0); /** * The pivot point of the displayObject that it rotates around diff --git a/src/core/display/Transform.js b/src/core/display/Transform.js index 21dd156..7be09db 100644 --- a/src/core/display/Transform.js +++ b/src/core/display/Transform.js @@ -1,5 +1,4 @@ -var math = require('../math'), - ObservablePoint = require('./ObservablePoint'); +var math = require('../math'); /** @@ -35,7 +34,7 @@ this.scale = new math.Point(1,1); - this.skew = new ObservablePoint(this.updateSkew, this, 0,0); + this.skew = new math.ObservablePoint(this.updateSkew, this, 0,0); /** * The pivot point of the displayObject that it rotates around diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index bf07021..3b69563 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -203,7 +203,7 @@ Sprite.prototype.onAnchorUpdate = function() { this._transformID = -1; -} +}; Sprite.prototype.calculateVertices = function () {