File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ Phaser.Stage = function (game) {
4646 this . exists = true ;
4747
4848 /**
49- * @property {PIXI .Matrix } worldTransform - Current transform of the object based on world (parent) factors
49+ * @property {Phaser .Matrix } worldTransform - Current transform of the object based on world (parent) factors
5050 * @private
5151 * @readOnly
5252 */
53- this . worldTransform = new PIXI . Matrix ( ) ;
53+ this . worldTransform = new Phaser . Matrix ( ) ;
5454
5555 /**
5656 * @property {Phaser.Stage } stage - The stage reference (the Stage is its own stage)
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ Phaser.Component.ScaleMinMax.prototype = {
5050 *
5151 * @method
5252 * @private
53- * @param {PIXI .Matrix } wt - The updated worldTransform matrix.
53+ * @param {Phaser .Matrix } wt - The updated worldTransform matrix.
5454 */
5555 checkTransform : function ( wt ) {
5656
Original file line number Diff line number Diff line change @@ -385,10 +385,4 @@ Phaser.Matrix.prototype = {
385385} ;
386386
387387Phaser . identityMatrix = new Phaser . Matrix ( ) ;
388-
389388Phaser . tempMatrix = new Phaser . Matrix ( ) ;
390-
391- // Because PIXI uses its own type, we'll replace it with ours to avoid duplicating code or confusion.
392- PIXI . Matrix = Phaser . Matrix ;
393- PIXI . identityMatrix = Phaser . identityMatrix ;
394-
Original file line number Diff line number Diff line change @@ -142,10 +142,10 @@ PIXI.DisplayObject = function () {
142142 * that happens this property will contain values based on the previous frame. Be mindful of this if
143143 * accessing this property outside of the normal game flow, i.e. from an asynchronous event callback.
144144 *
145- * @property {PIXI .Matrix } worldTransform
145+ * @property {Phaser .Matrix } worldTransform
146146 * @readOnly
147147 */
148- this . worldTransform = new PIXI . Matrix ( ) ;
148+ this . worldTransform = new Phaser . Matrix ( ) ;
149149
150150 /**
151151 * The coordinates, in pixels, of this DisplayObject within the world.
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ PIXI.DisplayObjectContainer.prototype.getBounds = function (targetCoordinateSpac
308308 {
309309 var matrixCache = targetCoordinateSpace . worldTransform ;
310310
311- targetCoordinateSpace . worldTransform = PIXI . identityMatrix ;
311+ targetCoordinateSpace . worldTransform = Phaser . identityMatrix ;
312312
313313 for ( i = 0 ; i < targetCoordinateSpace . children . length ; i ++ )
314314 {
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ PIXI.Sprite.prototype.getLocalBounds = function () {
322322
323323 var matrixCache = this . worldTransform ;
324324
325- this . worldTransform = PIXI . identityMatrix ;
325+ this . worldTransform = Phaser . identityMatrix ;
326326
327327 for ( var i = 0 ; i < this . children . length ; i ++ )
328328 {
You can’t perform that action at this time.
0 commit comments