Merge voxel renderer implementation blocks
This commit is contained in:
parent
5acea1192c
commit
03a74d1b02
|
@ -177,6 +177,15 @@ impl VoxelRenderer {
|
|||
unpack_bind_group,
|
||||
})
|
||||
}
|
||||
|
||||
pub fn update_brickmap(
|
||||
&mut self,
|
||||
context: &gfx::Context,
|
||||
world: &mut super::world::WorldManager,
|
||||
) {
|
||||
self.brickmap_manager
|
||||
.process_feedback_buffer(context, world);
|
||||
}
|
||||
}
|
||||
|
||||
impl gfx::Renderer for VoxelRenderer {
|
||||
|
@ -240,14 +249,3 @@ impl gfx::Renderer for VoxelRenderer {
|
|||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl VoxelRenderer {
|
||||
pub fn update_brickmap(
|
||||
&mut self,
|
||||
context: &gfx::Context,
|
||||
world: &mut super::world::WorldManager,
|
||||
) {
|
||||
self.brickmap_manager
|
||||
.process_feedback_buffer(context, world);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue