mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 05:08:21 -06:00
...
This commit is contained in:
parent
3f359f433c
commit
840529511c
|
@ -73,7 +73,9 @@ pub fn draw_world(
|
||||||
//Draw chunk mesh
|
//Draw chunk mesh
|
||||||
if mesh.main.index.size() > 0 {
|
if mesh.main.index.size() > 0 {
|
||||||
//TODO
|
//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
|
//TODO trans chunks
|
||||||
|
|
Loading…
Reference in a new issue