mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-31 04:15:54 +00:00
Refactor
This commit is contained in:
parent
be94ba1641
commit
d5efbd1802
@ -107,11 +107,12 @@ impl PartialHalfEdge {
|
|||||||
.with_position(Some(point_curve))
|
.with_position(Some(point_curve))
|
||||||
.with_curve(Some(curve.clone()))
|
.with_curve(Some(curve.clone()))
|
||||||
.with_surface_form(Some(surface_form.clone()))
|
.with_surface_form(Some(surface_form.clone()))
|
||||||
|
.into()
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
self.curve = Some(curve.into());
|
self.curve = Some(curve.into());
|
||||||
self.vertices = Some(vertices.map(Into::into));
|
self.vertices = Some(vertices);
|
||||||
|
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user