cargo fmt
This commit is contained in:
parent
468cbde5e1
commit
ca07268c7c
204 changed files with 13988 additions and 5516 deletions
|
|
@ -52,7 +52,11 @@ fn to_truck(spl: &Spline) -> TruckEntity {
|
|||
.collect();
|
||||
let bspline = BSplineCurve::new(knot_vec, ctrl_pts);
|
||||
let (t0, t1) = bspline.range_tuple();
|
||||
(bspline.subs(t0), bspline.subs(t1), Curve::BSplineCurve(bspline))
|
||||
(
|
||||
bspline.subs(t0),
|
||||
bspline.subs(t1),
|
||||
Curve::BSplineCurve(bspline),
|
||||
)
|
||||
};
|
||||
|
||||
let snap_source = if !spl.fit_points.is_empty() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue