mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-12 13:58:28 +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 {
|
impl AnchoredCurve {
|
||||||
pub fn line_from_points(points: [Point<3>; 2]) -> Self {
|
pub fn line_from_points([a, b]: [Point<3>; 2]) -> Self {
|
||||||
let (line, _) = Line::from_points(points);
|
let (line, _) = Line::from_points([a, b]);
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
origin: line.origin(),
|
origin: line.origin(),
|
||||||
|
Loading…
Reference in New Issue
Block a user