summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
Diffstat (limited to 'world')
-rw-r--r--world/src/mesh.rs1
-rw-r--r--world/src/physics.rs1
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