mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Tiebreaker for snap-rounding examination order
This commit is contained in:
+6
-2
@@ -323,9 +323,13 @@ struct scan_transition {
|
||||
bool operator<(scan_transition const &s) const {
|
||||
if (y < s.y) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
} else if (y == s.y) {
|
||||
if (segment < s.segment) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user