mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 10:58:28 +00:00
Consolidate redundant code
This commit is contained in:
parent
0d0d5b3183
commit
eda733e9f0
@ -15,9 +15,10 @@ mod topology;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let model = model::model();
|
||||
let tri_mesh = model.tri_mesh();
|
||||
|
||||
export::export(&model.tri_mesh())?;
|
||||
app::run(model.tri_mesh())?;
|
||||
export::export(&tri_mesh)?;
|
||||
app::run(tri_mesh)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user