diff --git a/crates/fj-core/src/algorithms/approx/mod.rs b/crates/fj-core/src/algorithms/approx/mod.rs index ff0dddd16..7899320ea 100644 --- a/crates/fj-core/src/algorithms/approx/mod.rs +++ b/crates/fj-core/src/algorithms/approx/mod.rs @@ -59,10 +59,13 @@ pub struct ApproxPoint { impl ApproxPoint { /// Create an instance of `ApproxPoint`, without a source - pub fn new(local_form: Point, global_form: Point<3>) -> Self { + pub fn new( + local_form: impl Into>, + global_form: impl Into>, + ) -> Self { Self { - local_form, - global_form, + local_form: local_form.into(), + global_form: global_form.into(), } } }