Move vars lower if we bail sooner

This commit is contained in:
photonstorm 2017-07-18 13:53:16 +01:00
parent c9acae689d
commit a41503979b
2 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -1,4 +1,4 @@
var CHECKSUM = {
build: 'abf1bcd0-6b58-11e7-abf0-e311646824f1'
build: '416c7910-6bb5-11e7-a2ec-b37f9b66128f'
};
module.exports = CHECKSUM;