Consolidate redundant code

This commit is contained in:
Hanno Braun 2025-03-18 20:58:37 +01:00
parent 0d0d5b3183
commit eda733e9f0

View File

@ -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(())
}