Run cargo fmt

This commit is contained in:
Hanno Braun 2022-03-16 16:41:04 +01:00
parent aeeb4ca381
commit 8f35d3cedb

View File

@ -50,7 +50,7 @@ pub extern "C" fn model(args: &HashMap<String, String>) -> fj::Shape {
inner.push([x / 2., y / 2.]); inner.push([x / 2., y / 2.]);
} }
let outer = fj::Sketch::from_points(outer).with_color ([0, 255, 0, 200]); let outer = fj::Sketch::from_points(outer).with_color([0, 255, 0, 200]);
let inner = fj::Sketch::from_points(inner); let inner = fj::Sketch::from_points(inner);
let footprint = fj::Difference2d::from_objects(outer.into(), inner.into()); let footprint = fj::Difference2d::from_objects(outer.into(), inner.into());