remove unneeded clone
This commit is contained in:
parent
33e2c3825a
commit
1205e95009
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ impl App<'_> {
|
||||||
panic!()
|
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)
|
let vertices: Vec<Vertex> = (0..mesh.positions.len() / 3)
|
||||||
.map(|i| Vertex {
|
.map(|i| Vertex {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue