remove unneeded clone

This commit is contained in:
Chance 2025-03-29 01:32:07 -04:00
parent 8097441fee
commit 91af33858a
Signed by: caznix
GPG key ID: 489D213143D753FD

View file

@ -215,7 +215,7 @@ impl App<'_> {
panic!()
}
};
let mesh = obj.0.get(0).unwrap().mesh.clone();
let mesh = &obj.0.get(0).unwrap().mesh;
let vertices: Vec<Vertex> = (0..mesh.positions.len() / 3)
.map(|i| Vertex {