does not need to be mutable
This commit is contained in:
parent
38efed0d04
commit
32a28880db
@ -58,7 +58,7 @@ where
|
||||
let normal=face.normal();
|
||||
let normal_idx=spam_normal.len() as u32;
|
||||
spam_normal.push(valve_transform(<[f32;3]>::from(normal)));
|
||||
let mut indices:Vec<model::VertexId>=face.vertex_positions().map(|vertex_position|{
|
||||
let indices:Vec<model::VertexId>=face.vertex_positions().map(|vertex_position|{
|
||||
let vertex_xyz=<[f32;3]>::from(vertex_position);
|
||||
let pos=glam::Vec3A::from_array(vertex_xyz);
|
||||
let pos_idx=spam_pos.len();
|
||||
|
Loading…
Reference in New Issue
Block a user