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