mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-14 06:48:26 +00:00
Prepare to support more types of segments
This commit is contained in:
parent
88df0cb625
commit
fac08b794b
@ -35,7 +35,9 @@ impl Sketch {
|
||||
.iter()
|
||||
.copied()
|
||||
.map(|segment| {
|
||||
let SketchSegment::Line { start: point_local } = segment;
|
||||
let point_local = match segment {
|
||||
SketchSegment::Line { start: point_local } => point_local,
|
||||
};
|
||||
|
||||
let point_global =
|
||||
surface.geometry.point_from_local(point_local);
|
||||
|
Loading…
Reference in New Issue
Block a user