mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +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.
|
||||
let points = [points[0], points[1]];
|
||||
|
||||
let segment = LineSegment::from_points(points);
|
||||
let segment = LineSegment { points };
|
||||
segments.push(segment);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user