mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Move vars lower if we bail sooner
This commit is contained in:
parent
c9acae689d
commit
a41503979b
2 changed files with 4 additions and 3 deletions
|
@ -11,8 +11,6 @@ var Cull = function (renderableObjects)
|
|||
var mvb = cameraMatrix[1];
|
||||
var mvc = cameraMatrix[2];
|
||||
var mvd = cameraMatrix[3];
|
||||
var mve = cameraMatrix[4];
|
||||
var mvf = cameraMatrix[5];
|
||||
|
||||
/* First Invert Matrix */
|
||||
var determinant = (mva * mvd) - (mvb * mvc);
|
||||
|
@ -22,6 +20,9 @@ var Cull = function (renderableObjects)
|
|||
return renderableObjects;
|
||||
}
|
||||
|
||||
var mve = cameraMatrix[4];
|
||||
var mvf = cameraMatrix[5];
|
||||
|
||||
var scrollX = this.scrollX;
|
||||
var scrollY = this.scrollY;
|
||||
var cameraW = this.width;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var CHECKSUM = {
|
||||
build: 'abf1bcd0-6b58-11e7-abf0-e311646824f1'
|
||||
build: '416c7910-6bb5-11e7-a2ec-b37f9b66128f'
|
||||
};
|
||||
module.exports = CHECKSUM;
|
Loading…
Reference in a new issue