Skip to content

WIP: Use Spiral iterator for ViewRegion#228

Draft
maxammann wants to merge 4 commits into
maplibre:mainfrom
maxammann:improve-view-region-iterator
Draft

WIP: Use Spiral iterator for ViewRegion#228
maxammann wants to merge 4 commits into
maplibre:mainfrom
maxammann:improve-view-region-iterator

Conversation

@maxammann

Copy link
Copy Markdown
Collaborator

The idea of this PR is to iterate in a spiral over the 2D view region instead of left-right -> top-bottom.

Implementation taken from here: https://stackoverflow.com/questions/398299/looping-in-a-spiral

@maxammann maxammann marked this pull request as ready for review December 15, 2022 14:39
@maxammann maxammann changed the title Improve ViewRegion iterator Use Spiral iterator for ViewRegion Dec 15, 2022
@maxammann maxammann marked this pull request as draft December 15, 2022 15:13
@maxammann maxammann marked this pull request as ready for review October 9, 2023 12:12
@maxammann maxammann marked this pull request as draft October 20, 2023 20:00
@maxammann maxammann changed the title Use Spiral iterator for ViewRegion WIP: Use Spiral iterator for ViewRegion Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant