remove unneeded clone

This commit is contained in:
Chance 2025-03-29 01:32:07 -04:00 committed by BitSyndicate
parent 0a55407222
commit ce15112404
Signed by: bitsyndicate
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 {