mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-12 22:08:29 +00:00
Prepare for follow-on change
This commit is contained in:
parent
c8dccd539e
commit
06513f4151
@ -44,11 +44,13 @@ impl Sketch {
|
|||||||
|
|
||||||
let half_edges = vertices.into_iter().circular_tuple_windows().map(
|
let half_edges = vertices.into_iter().circular_tuple_windows().map(
|
||||||
|(start, end)| {
|
|(start, end)| {
|
||||||
|
let curve = Handle::new(Curve {});
|
||||||
|
|
||||||
let is_internal = coincident_vertices.contains(&start)
|
let is_internal = coincident_vertices.contains(&start)
|
||||||
&& coincident_vertices.contains(&end);
|
&& coincident_vertices.contains(&end);
|
||||||
|
|
||||||
Handle::new(HalfEdge {
|
Handle::new(HalfEdge {
|
||||||
curve: Handle::new(Curve {}),
|
curve,
|
||||||
start,
|
start,
|
||||||
is_internal,
|
is_internal,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user