mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Removed PixiPatch as it's no longer needed. Re-worked all of the Sprite autoCull and inWorld checks and cached the bounds. Fixed the Body calculations so physics is working again.
This commit is contained in:
@@ -196,8 +196,6 @@ PIXI.DisplayObject = function()
|
||||
*/
|
||||
this._mask = null;
|
||||
|
||||
this.x = this.position.x;
|
||||
this.y = this.position.y;
|
||||
|
||||
/*
|
||||
* MOUSE Callbacks
|
||||
@@ -395,8 +393,6 @@ PIXI.DisplayObject.prototype.updateTransform = function()
|
||||
// TODO OPTIMIZE THIS!! with dirty
|
||||
if(this.rotation !== this.rotationCache)
|
||||
{
|
||||
if(isNaN(parseFloat(this.rotation)))
|
||||
throw new Error('DisplayObject rotation values must be numeric.');
|
||||
|
||||
this.rotationCache = this.rotation;
|
||||
this._sr = Math.sin(this.rotation);
|
||||
|
||||
Reference in New Issue
Block a user