mirror of
https://github.com/hannobraun/Fornjot
synced 2025-09-04 16:36:25 +00:00
Simplify
This commit is contained in:
parent
5a946ebfab
commit
e05fb72534
@ -47,7 +47,7 @@ impl<const D: usize> PolyChain<D> {
|
|||||||
// once `array_windows` is stable.
|
// once `array_windows` is stable.
|
||||||
let points = [points[0], points[1]];
|
let points = [points[0], points[1]];
|
||||||
|
|
||||||
let segment = LineSegment::from_points(points);
|
let segment = LineSegment { points };
|
||||||
segments.push(segment);
|
segments.push(segment);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user