From 9e68f411180d2e9a992ef6bc788ae935a0fe368d Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Sun, 11 Oct 2020 23:04:00 +0100 Subject: [PATCH] Formatting --- src/tilemaps/components/IsometricCullTiles.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tilemaps/components/IsometricCullTiles.js b/src/tilemaps/components/IsometricCullTiles.js index 3d0ea28fb..801b5af39 100644 --- a/src/tilemaps/components/IsometricCullTiles.js +++ b/src/tilemaps/components/IsometricCullTiles.js @@ -7,7 +7,7 @@ var CheckIsoBounds = require('./CheckIsoBounds'); /** - * Returns the tiles in the given layer that are within the camera's viewport. This is used internally. + * Returns the tiles in the given layer that are within the cameras viewport. This is used internally. * * @function Phaser.Tilemaps.Components.IsometricCullTiles * @since 3.50.0 @@ -51,7 +51,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder) { for (x = drawLeft; mapData[y] && x < drawRight; x++) { - if (CheckIsoBounds(x,y,layer,camera)) + if (CheckIsoBounds(x, y, layer, camera)) { tile = mapData[y][x]; @@ -73,7 +73,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder) { for (x = drawRight; mapData[y] && x >= drawLeft; x--) { - if (CheckIsoBounds(x,y,layer,camera)) + if (CheckIsoBounds(x, y, layer, camera)) { tile = mapData[y][x]; @@ -95,7 +95,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder) { for (x = drawLeft; mapData[y] && x < drawRight; x++) { - if (CheckIsoBounds(x,y,layer,camera)) + if (CheckIsoBounds(x, y, layer, camera)) { tile = mapData[y][x]; @@ -117,7 +117,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder) { for (x = drawRight; mapData[y] && x >= drawLeft; x--) { - if (CheckIsoBounds(x,y,layer,camera)) + if (CheckIsoBounds(x, y, layer, camera)) { tile = mapData[y][x];