forked from StrafesNET/strafe-project
lol idk #1
@ -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…
x
Reference in New Issue
Block a user