mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Formatting
This commit is contained in:
parent
39f74d2e95
commit
9e68f41118
1 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
||||||
var CheckIsoBounds = require('./CheckIsoBounds');
|
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
|
* @function Phaser.Tilemaps.Components.IsometricCullTiles
|
||||||
* @since 3.50.0
|
* @since 3.50.0
|
||||||
|
@ -51,7 +51,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
|
||||||
{
|
{
|
||||||
for (x = drawLeft; mapData[y] && x < drawRight; x++)
|
for (x = drawLeft; mapData[y] && x < drawRight; x++)
|
||||||
{
|
{
|
||||||
if (CheckIsoBounds(x,y,layer,camera))
|
if (CheckIsoBounds(x, y, layer, camera))
|
||||||
{
|
{
|
||||||
tile = mapData[y][x];
|
tile = mapData[y][x];
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
|
||||||
{
|
{
|
||||||
for (x = drawRight; mapData[y] && x >= drawLeft; x--)
|
for (x = drawRight; mapData[y] && x >= drawLeft; x--)
|
||||||
{
|
{
|
||||||
if (CheckIsoBounds(x,y,layer,camera))
|
if (CheckIsoBounds(x, y, layer, camera))
|
||||||
{
|
{
|
||||||
tile = mapData[y][x];
|
tile = mapData[y][x];
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
|
||||||
{
|
{
|
||||||
for (x = drawLeft; mapData[y] && x < drawRight; x++)
|
for (x = drawLeft; mapData[y] && x < drawRight; x++)
|
||||||
{
|
{
|
||||||
if (CheckIsoBounds(x,y,layer,camera))
|
if (CheckIsoBounds(x, y, layer, camera))
|
||||||
{
|
{
|
||||||
tile = mapData[y][x];
|
tile = mapData[y][x];
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
|
||||||
{
|
{
|
||||||
for (x = drawRight; mapData[y] && x >= drawLeft; x--)
|
for (x = drawRight; mapData[y] && x >= drawLeft; x--)
|
||||||
{
|
{
|
||||||
if (CheckIsoBounds(x,y,layer,camera))
|
if (CheckIsoBounds(x, y, layer, camera))
|
||||||
{
|
{
|
||||||
tile = mapData[y][x];
|
tile = mapData[y][x];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue