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, 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,
} }
} }