mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-02 14:08:11 +00:00
Rename argument
This commit is contained in:
parent
e43dcac26f
commit
f54bfe9bc4
@ -181,13 +181,13 @@ impl PartialHalfEdge {
|
||||
}
|
||||
|
||||
/// Build a full [`HalfEdge`] from the partial half-edge
|
||||
pub fn build(self, stores: &Objects) -> HalfEdge {
|
||||
pub fn build(self, objects: &Objects) -> HalfEdge {
|
||||
let surface = self.surface;
|
||||
let curve = self
|
||||
.curve
|
||||
.expect("Can't build `HalfEdge` without curve")
|
||||
.update_partial(|curve| curve.with_surface(surface))
|
||||
.into_full(stores);
|
||||
.into_full(objects);
|
||||
let vertices = self
|
||||
.vertices
|
||||
.expect("Can't build `HalfEdge` without vertices")
|
||||
@ -196,7 +196,7 @@ impl PartialHalfEdge {
|
||||
.update_partial(|vertex| {
|
||||
vertex.with_curve(Some(curve.clone()))
|
||||
})
|
||||
.into_full(stores)
|
||||
.into_full(objects)
|
||||
});
|
||||
|
||||
let global_form = self
|
||||
@ -206,7 +206,7 @@ impl PartialHalfEdge {
|
||||
.from_curve_and_vertices(&curve, &vertices)
|
||||
.into()
|
||||
})
|
||||
.into_full(stores);
|
||||
.into_full(objects);
|
||||
|
||||
HalfEdge::new(vertices, global_form)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user