mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-06 17:26:06 +00:00
Update name of variable
This commit is contained in:
parent
f4d7d19d77
commit
a089dde7bf
@ -22,13 +22,13 @@ impl Face {
|
|||||||
surface: Plane,
|
surface: Plane,
|
||||||
vertices: impl IntoIterator<Item = Handle<Vertex>>,
|
vertices: impl IntoIterator<Item = Handle<Vertex>>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let vertices = vertices
|
let half_edges = vertices
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|vertex| Handle::new(HalfEdge::new(vertex)))
|
.map(|vertex| Handle::new(HalfEdge::new(vertex)))
|
||||||
.collect();
|
.collect();
|
||||||
Self {
|
Self {
|
||||||
surface,
|
surface,
|
||||||
half_edges: vertices,
|
half_edges,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user