From 32a28880db373024c93ae7a4c57a5f9ea2f32749 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 14 Feb 2024 00:42:20 -0800 Subject: [PATCH] does not need to be mutable --- src/bsp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsp.rs b/src/bsp.rs index 5a6006c..d829743 100644 --- a/src/bsp.rs +++ b/src/bsp.rs @@ -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=face.vertex_positions().map(|vertex_position|{ + let indices:Vec=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();