We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7216032 commit 6475822Copy full SHA for 6475822
src/offset_polyline_raw.rs
@@ -151,10 +151,10 @@ pub fn arcs_to_raws_single(arcs: &Arcline) -> Vec<OffsetRaw> {
151
// to identify which endpoint connects to next arc
152
let bulge = if seg_b_to_next_a || seg_b_to_next_b {
153
// seg.b connects to next arc -> seg is normal (positive bulge)
154
- 1.0
+ -1.0
155
} else {
156
// seg.a connects to next arc -> seg is reversed (negative bulge)
157
- -1.0
+ 1.0
158
};
159
160
let orig = if bulge < ZERO { seg.a } else { seg.b };
0 commit comments