Remove unused code

This commit is contained in:
Jarrod Doyle 2023-04-24 14:01:36 +01:00
parent 249ab27777
commit 5914efaea8
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 0 additions and 19 deletions

View File

@ -60,25 +60,6 @@ impl App {
0.25, 0.25,
); );
let camera_bind_group_layout = render::BindGroupLayoutBuilder::new()
.with_label("camera_bind_group_layout")
.with_entry(
wgpu::ShaderStages::COMPUTE,
wgpu::BindingType::Buffer {
ty: wgpu::BufferBindingType::Uniform,
has_dynamic_offset: false,
min_binding_size: None,
},
None,
)
.build(&self.render_ctx);
let camera_bind_group = render::BindGroupBuilder::new()
.with_label("camera_bind_group")
.with_layout(&camera_bind_group_layout)
.with_entry(camera_controller.get_buffer().as_entire_binding())
.build(&self.render_ctx);
// let renderer = render::Renderer::new(&self.render_ctx, &camera_bind_group_layout);
let renderer = voxel::VoxelRenderer::new(&self.render_ctx, &camera_controller); let renderer = voxel::VoxelRenderer::new(&self.render_ctx, &camera_controller);
let mut last_render_time = Instant::now(); let mut last_render_time = Instant::now();