Skip to content

Commit 67b787a

Browse files
committed
Update GetTilesWithinWorldXY.js
1 parent db2fdc1 commit 67b787a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tilemaps/components/GetTilesWithinWorldXY.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ var pointEnd = new Vector2();
3131
*/
3232
var GetTilesWithinWorldXY = function (worldX, worldY, width, height, filteringOptions, camera, layer)
3333
{
34-
// Top left corner of the rect, rounded down to include partial tiles
34+
// Top left corner of the rect, rounded down to include partial tiles
3535
layer.tilemapLayer.worldToTileXY(worldX, worldY, true, pointStart, camera);
3636

3737
var xStart = pointStart.x;
3838
var yStart = pointStart.y;
3939

40-
// Bottom right corner of the rect, rounded up to include partial tiles
40+
// Bottom right corner of the rect, rounded up to include partial tiles
4141
layer.tilemapLayer.worldToTileXY(worldX + width, worldY + height, false, pointEnd, camera);
4242

4343
var xEnd = Math.ceil(pointEnd.x);

0 commit comments

Comments
 (0)