diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-12 00:57:58 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-12 00:57:58 +0100 |
commit | c810b040f875333fb9b1fe5d2269ba08d0c878f2 (patch) | |
tree | f8b93771cab1d736d04156a6a82ea961bd6c3d7b /world | |
parent | e4500d6bbd512d2744916c8288a8c423af21416f (diff) | |
download | weareserver-c810b040f875333fb9b1fe5d2269ba08d0c878f2.tar weareserver-c810b040f875333fb9b1fe5d2269ba08d0c878f2.tar.bz2 weareserver-c810b040f875333fb9b1fe5d2269ba08d0c878f2.tar.zst |
switch to 32-bit index format
Diffstat (limited to 'world')
-rw-r--r-- | world/src/mesh.rs | 1 | ||||
-rw-r--r-- | world/src/physics.rs | 1 |
2 files changed, 0 insertions, 2 deletions
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::<Vec<_>>(); 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::<Vec<_>>(); let position = reader |