From 840529511cb97446813a54ef1f58e9a38524518c Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 5 May 2024 15:19:09 +0200 Subject: [PATCH] ... --- kubi/src/rendering/world.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kubi/src/rendering/world.rs b/kubi/src/rendering/world.rs index e3ec66d..96fd83c 100644 --- a/kubi/src/rendering/world.rs +++ b/kubi/src/rendering/world.rs @@ -73,7 +73,9 @@ pub fn draw_world( //Draw chunk mesh if mesh.main.index.size() > 0 { //TODO - render_pass.set_bind_group(0, &textures.block_diffuse_bind_group, &[]); + // render_pass.set_index_buffer(mesh.main.index.slice(..), wgpu::IndexFormat::Uint32); + // render_pass.set_vertex_buffer(0, mesh.main.vertex.slice(..)); + // render_pass.set_bind_group(0, &textures.block_diffuse_bind_group, &[]); } //TODO trans chunks