Skip to content

Commit

Permalink
[core] Remove unused 'posMatrix' argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLoer committed Aug 16, 2017
1 parent 0098083 commit 99fdb47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/source/tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class Tile {
const pitchWithMap = bucket.layers[0].layout['text-pitch-alignment'] === 'map';
const pixelRatio = pixelsToTileUnits(this, 1, collisionTile.transform.zoom);
const labelPlaneMatrix = projection.getLabelPlaneMatrix(posMatrix, pitchWithMap, true, collisionTile.transform, pixelRatio);
PlaceSymbols.place(bucket, collisionTile, showCollisionBoxes, collisionTile.transform.zoom, pixelRatio, labelPlaneMatrix, posMatrix, this.coord.id, this.collisionBoxArray);
PlaceSymbols.place(bucket, collisionTile, showCollisionBoxes, collisionTile.transform.zoom, pixelRatio, labelPlaneMatrix, this.coord.id, this.collisionBoxArray);
PlaceSymbols.updateOpacities(bucket, collisionFadeTimes);
}

Expand Down
2 changes: 1 addition & 1 deletion src/symbol/place_symbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function updateCollisionCircles(collisionVertexArray: any, collisionCircles: any
}
}

function place(bucket: any, collisionTile: any, showCollisionBoxes: boolean, zoom: number, pixelsToTileUnits: number, labelPlaneMatrix: any, posMatrix: any, tileID: number, collisionBoxArray: any) {
function place(bucket: any, collisionTile: any, showCollisionBoxes: boolean, zoom: number, pixelsToTileUnits: number, labelPlaneMatrix: any, tileID: number, collisionBoxArray: any) {
// Calculate which labels can be shown and when they can be shown and
// create the bufers used for rendering.

Expand Down

0 comments on commit 99fdb47

Please sign in to comment.