remove unneeded clone

This commit is contained in:
Chance 2025-03-29 01:32:07 -04:00 committed by BitSyndicate
parent eebf9feb2f
commit 1326b25b3a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 443E4198D6BBA6DE

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 {