From 7af66544d3fefc3662f5762f09272ab74356736c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Dec 2026 03:51:23 +0000 Subject: [PATCH] Format vendored wagyu change the same way as the upstream pull request Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CQ6vQUJtmGZnqz7RmVYQaJ --- mapbox/geometry/wagyu/ring_util.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mapbox/geometry/wagyu/ring_util.hpp b/mapbox/geometry/wagyu/ring_util.hpp index 11509375..663eb2c6 100644 --- a/mapbox/geometry/wagyu/ring_util.hpp +++ b/mapbox/geometry/wagyu/ring_util.hpp @@ -272,7 +272,8 @@ void hot_pixel_set_left_to_right(T y, if (!add_end_point && itr->x == end_x) { continue; } - if ((itr->x < x_min_inward || itr->x > x_max_inward) && !rings.snap_all_corners && !bnd.current_edge->intersected && + if ((itr->x < x_min_inward || itr->x > x_max_inward) && !rings.snap_all_corners && + !bnd.current_edge->intersected && !std::binary_search(rings.intersection_hot_pixels.begin(), rings.intersection_hot_pixels.end(), *itr, hot_pixel_sorter())) { continue; @@ -325,7 +326,8 @@ void hot_pixel_set_right_to_left(T y, if (!add_end_point && itr->x == end_x) { continue; } - if ((itr->x < x_min_inward || itr->x > x_max_inward) && !rings.snap_all_corners && !bnd.current_edge->intersected && + if ((itr->x < x_min_inward || itr->x > x_max_inward) && !rings.snap_all_corners && + !bnd.current_edge->intersected && !std::binary_search(rings.intersection_hot_pixels.begin(), rings.intersection_hot_pixels.end(), *itr, hot_pixel_sorter())) { continue;