diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-15 09:40:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-15 09:40:39 +0000 |
| commit | 0d6abf15150828aa844c7371ec3fa7ba809233b1 (patch) | |
| tree | 3b5e39a69eef932fb2856d91bdff06662c6572f9 /render.h | |
| parent | render: set tracking point count to 0 if there’s no active selection (diff) | |
grid: reflow: use a sorted array for tracking points
Instead of iterating a linked list of tracking points, for *each and
every* cell in the old grid, use a sorted array.
This allows us to step through the array of tracking points as we walk
the old grid; each time we match a tracking point, we move to the next
one.
This means we only have to check a single tracking point for each cell.
Diffstat (limited to 'render.h')
0 files changed, 0 insertions, 0 deletions
