From a41503979be2490c14d36b8d9198181b931a3770 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Tue, 18 Jul 2017 13:53:16 +0100 Subject: [PATCH] Move vars lower if we bail sooner --- v3/src/camera/components/Cull.js | 5 +++-- v3/src/checksum.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/v3/src/camera/components/Cull.js b/v3/src/camera/components/Cull.js index f33b60d6f..f8ac41421 100644 --- a/v3/src/camera/components/Cull.js +++ b/v3/src/camera/components/Cull.js @@ -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; diff --git a/v3/src/checksum.js b/v3/src/checksum.js index 7edbe2863..931f86639 100644 --- a/v3/src/checksum.js +++ b/v3/src/checksum.js @@ -1,4 +1,4 @@ var CHECKSUM = { -build: 'abf1bcd0-6b58-11e7-abf0-e311646824f1' +build: '416c7910-6bb5-11e7-a2ec-b37f9b66128f' }; module.exports = CHECKSUM; \ No newline at end of file