mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 21:08:27 +00:00
Add comment to add_joined_half_edges
This commit is contained in:
parent
36257235bc
commit
d80414476a
@ -106,6 +106,10 @@ impl JoinCycle for Cycle {
|
|||||||
let half_edges = half_edges
|
let half_edges = half_edges
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.circular_tuple_windows()
|
.circular_tuple_windows()
|
||||||
|
// If you're confused about the naming of `next_half_edge` and/or
|
||||||
|
// the relative order of `half_edge`/`next_half_edge`, please refer
|
||||||
|
// to the documentation of this method. This matches the order it
|
||||||
|
// expects half-edges in.
|
||||||
.map(|((next_half_edge, _), (half_edge, curve_geom))| {
|
.map(|((next_half_edge, _), (half_edge, curve_geom))| {
|
||||||
let half_edge = HalfEdge::unjoined(core)
|
let half_edge = HalfEdge::unjoined(core)
|
||||||
.update_curve(|_, _| half_edge.curve().clone(), core)
|
.update_curve(|_, _| half_edge.curve().clone(), core)
|
||||||
|
Loading…
Reference in New Issue
Block a user