remove unneeded clone
This commit is contained in:
parent
0a55407222
commit
ce15112404
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue