mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 03:48:27 +00:00
Read boundary from geometry layer in reverse code
This commit is contained in:
parent
a59c06bc1e
commit
6b036c69ff
@ -12,10 +12,10 @@ impl ReverseCurveCoordinateSystems for Handle<HalfEdge> {
|
||||
fn reverse_curve_coordinate_systems(&self, core: &mut Core) -> Self {
|
||||
let mut geometry = core.layers.geometry.of_half_edge(self);
|
||||
geometry.path = geometry.path.reverse();
|
||||
let boundary = self.boundary().reverse();
|
||||
geometry.boundary = geometry.boundary.reverse();
|
||||
|
||||
let half_edge = HalfEdge::new(
|
||||
boundary,
|
||||
geometry.boundary,
|
||||
self.curve().clone(),
|
||||
self.start_vertex().clone(),
|
||||
)
|
||||
@ -26,7 +26,7 @@ impl ReverseCurveCoordinateSystems for Handle<HalfEdge> {
|
||||
half_edge.clone(),
|
||||
HalfEdgeGeometry {
|
||||
path: geometry.path,
|
||||
boundary,
|
||||
boundary: geometry.boundary,
|
||||
},
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user