From c810b040f875333fb9b1fe5d2269ba08d0c878f2 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 12 Jan 2025 00:57:58 +0100 Subject: switch to 32-bit index format --- world/src/mesh.rs | 1 - world/src/physics.rs | 1 - 2 files changed, 2 deletions(-) (limited to 'world/src') diff --git a/world/src/mesh.rs b/world/src/mesh.rs index 67f86ad..77bb05d 100644 --- a/world/src/mesh.rs +++ b/world/src/mesh.rs @@ -100,7 +100,6 @@ pub fn import_mesh( .read_indices() .unwrap() .into_u32() - .map(|e| e as u16) .array_chunks::<3>() .collect::>(); info!("{} indecies", index.len() * 3); diff --git a/world/src/physics.rs b/world/src/physics.rs index bc39a11..3b98378 100644 --- a/world/src/physics.rs +++ b/world/src/physics.rs @@ -57,7 +57,6 @@ pub fn import_physics( .read_indices() .ok_or(anyhow!("convexHull no index buffer"))? .into_u32() - .map(|e| e as u16) .array_chunks::<3>() .collect::>(); let position = reader -- cgit v1.2.3-70-g09d2