mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-16 15:58:34 +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()
|
.iter()
|
||||||
.copied()
|
.copied()
|
||||||
.map(|segment| {
|
.map(|segment| {
|
||||||
let SketchSegment::Line { start: point_local } = segment;
|
let point_local = match segment {
|
||||||
|
SketchSegment::Line { start: point_local } => point_local,
|
||||||
|
};
|
||||||
|
|
||||||
let point_global =
|
let point_global =
|
||||||
surface.geometry.point_from_local(point_local);
|
surface.geometry.point_from_local(point_local);
|
||||||
|
Loading…
Reference in New Issue
Block a user