mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 21:08:27 +00:00
Prepare for follow-on change
This commit is contained in:
parent
d5cb2ce685
commit
b60df55fd2
@ -21,8 +21,8 @@ pub struct AnchoredCurve {
|
||||
}
|
||||
|
||||
impl AnchoredCurve {
|
||||
pub fn line_from_points(points: [Point<3>; 2]) -> Self {
|
||||
let (line, _) = Line::from_points(points);
|
||||
pub fn line_from_points([a, b]: [Point<3>; 2]) -> Self {
|
||||
let (line, _) = Line::from_points([a, b]);
|
||||
|
||||
Self {
|
||||
origin: line.origin(),
|
||||
|
Loading…
Reference in New Issue
Block a user