mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 10:58:28 +00:00
Simplify
This commit is contained in:
parent
78c1b5fd43
commit
b88f4728dc
@ -18,7 +18,7 @@ impl<const D: usize> GenPolyline<D> for Line<D> {
|
|||||||
let point = self.origin() + self.direction() * point_curve.t;
|
let point = self.origin() + self.direction() * point_curve.t;
|
||||||
|
|
||||||
LineSegment {
|
LineSegment {
|
||||||
points: [point, point],
|
points: [point; 2],
|
||||||
points_line: [point_curve; 2],
|
points_line: [point_curve; 2],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user