mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-24 02:46:08 +00:00
Refactor to prepare for follow-on change
This commit is contained in:
parent
9150edc328
commit
cd046a380b
@ -88,11 +88,11 @@ impl SolidValidationError {
|
|||||||
face.region()
|
face.region()
|
||||||
.all_cycles()
|
.all_cycles()
|
||||||
.flat_map(|cycle| cycle.half_edges().iter().cloned())
|
.flat_map(|cycle| cycle.half_edges().iter().cloned())
|
||||||
.zip(repeat(geometry.of_surface(face.surface())))
|
.zip(repeat(face.surface()))
|
||||||
})
|
})
|
||||||
.map(|(h, s)| {
|
.map(|(h, s)| {
|
||||||
(
|
(
|
||||||
s.point_from_surface_coords(
|
geometry.of_surface(s).point_from_surface_coords(
|
||||||
geometry.of_half_edge(&h).start_position(),
|
geometry.of_half_edge(&h).start_position(),
|
||||||
),
|
),
|
||||||
h.start_vertex().clone(),
|
h.start_vertex().clone(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user