77var CheckIsoBounds = require ( './CheckIsoBounds' ) ;
88
99/**
10- * Returns the tiles in the given layer that are within the camera's viewport. This is used internally.
10+ * Returns the tiles in the given layer that are within the cameras viewport. This is used internally.
1111 *
1212 * @function Phaser.Tilemaps.Components.IsometricCullTiles
1313 * @since 3.50.0
@@ -51,7 +51,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
5151 {
5252 for ( x = drawLeft ; mapData [ y ] && x < drawRight ; x ++ )
5353 {
54- if ( CheckIsoBounds ( x , y , layer , camera ) )
54+ if ( CheckIsoBounds ( x , y , layer , camera ) )
5555 {
5656 tile = mapData [ y ] [ x ] ;
5757
@@ -73,7 +73,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
7373 {
7474 for ( x = drawRight ; mapData [ y ] && x >= drawLeft ; x -- )
7575 {
76- if ( CheckIsoBounds ( x , y , layer , camera ) )
76+ if ( CheckIsoBounds ( x , y , layer , camera ) )
7777 {
7878 tile = mapData [ y ] [ x ] ;
7979
@@ -95,7 +95,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
9595 {
9696 for ( x = drawLeft ; mapData [ y ] && x < drawRight ; x ++ )
9797 {
98- if ( CheckIsoBounds ( x , y , layer , camera ) )
98+ if ( CheckIsoBounds ( x , y , layer , camera ) )
9999 {
100100 tile = mapData [ y ] [ x ] ;
101101
@@ -117,7 +117,7 @@ var IsometricCullTiles = function (layer, camera, outputArray, renderOrder)
117117 {
118118 for ( x = drawRight ; mapData [ y ] && x >= drawLeft ; x -- )
119119 {
120- if ( CheckIsoBounds ( x , y , layer , camera ) )
120+ if ( CheckIsoBounds ( x , y , layer , camera ) )
121121 {
122122 tile = mapData [ y ] [ x ] ;
123123
0 commit comments