Skip to content

Commit

Permalink
Revert comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Jan 23, 2020
1 parent 27373ce commit d87aafd
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/geo/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,8 @@ class Transform {
}

/**
* Sets or clears the map's geographical constraints.
*
* @param bounds
*/
* Sets or clears the map's geographical constraints.
*/
setMaxBounds(bounds?: LngLatBounds) {
if (bounds) {
this.lngRange = [bounds.getWest(), bounds.getEast()];
Expand All @@ -519,12 +517,9 @@ class Transform {
}

/**
* Calculate the posMatrix that, given a tile coordinate, would be used to display the tile on a map.
*
* @param unwrappedTileID
* @param aligned
* @param {UnwrappedTileID} unwrappedTileID;
*/
* Calculate the posMatrix that, given a tile coordinate, would be used to display the tile on a map.
* @param {UnwrappedTileID} unwrappedTileID;
*/
calculatePosMatrix(unwrappedTileID: UnwrappedTileID, aligned: boolean = false): Float32Array {
const posMatrixKey = unwrappedTileID.key;
const cache = aligned ? this._alignedPosMatrixCache : this._posMatrixCache;
Expand Down

0 comments on commit d87aafd

Please sign in to comment.