Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-04-25 11:51:39 +02:00
parent d5cb2ce685
commit b60df55fd2

View File

@ -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(),