Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add standardized CLI for models #1860

Merged
merged 9 commits into from
Jun 6, 2023
Merged
Prev Previous commit
Next Next commit
Simplify return value of cuboid::main
hannobraun committed Jun 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit da5fa66c2abe3b1edc4f03e83247ec38eda3b380
2 changes: 1 addition & 1 deletion models/cuboid/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use fj::handle_model;

fn main() -> anyhow::Result<()> {
fn main() -> Result<(), fj::Error> {
let cuboid = cuboid::cuboid(3., 2., 1.);

// The tolerance makes no difference for this model, as there aren't any