From e032ab1bc7d081aebb9c758e9532a728c9e6b7b3 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 30 Apr 2024 12:05:05 +0200 Subject: [PATCH] Refactor to prepare for follow-on change --- crates/fj-core/src/operations/build/shell.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/fj-core/src/operations/build/shell.rs b/crates/fj-core/src/operations/build/shell.rs index 9ab2fd54e..ccd1d0330 100644 --- a/crates/fj-core/src/operations/build/shell.rs +++ b/crates/fj-core/src/operations/build/shell.rs @@ -88,9 +88,11 @@ pub trait BuildShell { .zip_ext([[a, b], [b, c], [c, a]]) .zip_ext(curves_and_boundaries) .map(|((vertex, positions), (curve, boundary))| { + let boundary = boundary.reverse(); + let half_edge = HalfEdge::line_segment( positions, - Some(boundary.reverse()), + Some(boundary), surface.clone(), core, );