You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Regarding tile wrapping, the changes I would like to see are:
Two different types: TileID (wrapped x coordinate; prefer this type unless you specifically need an unwrapped ID) and UnwrappedTileID (unwrapped x coordinate + w)
UnwrappedTileID has TileID wrap() const method; no other conversions are available
tileCover returns UnwrappedTileIDs
Remove Source::getLoadedTiles() and Source::getTiles()
Add Source::getCoveringUnwrappedTileIDs(), Source::getTile(const TileID&) and maybeSource::getTile(const UnwrappedTileID&)
Change TransformState::matrixFor parameter to UnwrappedTileID
Activity
jfirebaugh commentedon Feb 3, 2016
Regarding tile wrapping, the changes I would like to see are:
TileID(wrapped x coordinate; prefer this type unless you specifically need an unwrapped ID) andUnwrappedTileID(unwrapped x coordinate +w)UnwrappedTileIDhasTileID wrap() constmethod; no other conversions are availabletileCoverreturnsUnwrappedTileIDsSource::getLoadedTiles()andSource::getTiles()Source::getCoveringUnwrappedTileIDs(),Source::getTile(const TileID&)and maybeSource::getTile(const UnwrappedTileID&)TransformState::matrixForparameter toUnwrappedTileIDjfirebaugh commentedon Feb 3, 2016
The names
TileCoordinateandUnwrappedTileCoordinatewould be ok with me too, but we'll need to clear away the existingTileCoordinatetype first.jfirebaugh commentedon Feb 11, 2016
⇢ #3834