mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-20 22:25:51 +00:00
Update argument name
This commit is contained in:
parent
699b499355
commit
00fb591128
@ -9,7 +9,7 @@ pub trait UpdateCycle {
|
||||
#[must_use]
|
||||
fn add_half_edges(
|
||||
&self,
|
||||
edges: impl IntoIterator<Item = Handle<HalfEdge>>,
|
||||
half_edges: impl IntoIterator<Item = Handle<HalfEdge>>,
|
||||
) -> Self;
|
||||
|
||||
/// Update an edge of the cycle
|
||||
@ -47,9 +47,9 @@ pub trait UpdateCycle {
|
||||
impl UpdateCycle for Cycle {
|
||||
fn add_half_edges(
|
||||
&self,
|
||||
edges: impl IntoIterator<Item = Handle<HalfEdge>>,
|
||||
half_edges: impl IntoIterator<Item = Handle<HalfEdge>>,
|
||||
) -> Self {
|
||||
let edges = self.half_edges().iter().cloned().chain(edges);
|
||||
let edges = self.half_edges().iter().cloned().chain(half_edges);
|
||||
Cycle::new(edges)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user