Update name of variable

This commit is contained in:
Hanno Braun 2025-02-24 19:05:21 +01:00
parent f4d7d19d77
commit a089dde7bf

View File

@ -22,13 +22,13 @@ impl Face {
surface: Plane,
vertices: impl IntoIterator<Item = Handle<Vertex>>,
) -> Self {
let vertices = vertices
let half_edges = vertices
.into_iter()
.map(|vertex| Handle::new(HalfEdge::new(vertex)))
.collect();
Self {
surface,
half_edges: vertices,
half_edges,
}
}