From 13fad676ad7e5781ae8c6d281cd610ca4d3471f8 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Fri, 8 Sep 2023 16:02:26 +0100 Subject: [PATCH] Remove unused import and variable --- src/voxel/brickmap.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/voxel/brickmap.rs b/src/voxel/brickmap.rs index 186f330..51f51a5 100644 --- a/src/voxel/brickmap.rs +++ b/src/voxel/brickmap.rs @@ -1,9 +1,6 @@ use std::collections::HashSet; -use crate::{ - gfx::{self}, - math, -}; +use crate::{gfx, math}; #[repr(C)] #[derive(Debug, Default, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] @@ -73,8 +70,6 @@ impl BrickmapManager { max_requested_brickmaps: u32, max_uploaded_brickmaps: u32, ) -> Self { - let device = &context.device; - let state_uniform = WorldState { brickgrid_dims: [brickgrid_dims.x, brickgrid_dims.y, brickgrid_dims.z], ..Default::default()