Remove unused import and variable
This commit is contained in:
parent
a5ec013001
commit
13fad676ad
|
@ -1,9 +1,6 @@
|
||||||
use std::collections::HashSet;
|
use std::collections::HashSet;
|
||||||
|
|
||||||
use crate::{
|
use crate::{gfx, math};
|
||||||
gfx::{self},
|
|
||||||
math,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Debug, Default, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
|
#[derive(Debug, Default, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
|
||||||
|
@ -73,8 +70,6 @@ impl BrickmapManager {
|
||||||
max_requested_brickmaps: u32,
|
max_requested_brickmaps: u32,
|
||||||
max_uploaded_brickmaps: u32,
|
max_uploaded_brickmaps: u32,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let device = &context.device;
|
|
||||||
|
|
||||||
let state_uniform = WorldState {
|
let state_uniform = WorldState {
|
||||||
brickgrid_dims: [brickgrid_dims.x, brickgrid_dims.y, brickgrid_dims.z],
|
brickgrid_dims: [brickgrid_dims.x, brickgrid_dims.y, brickgrid_dims.z],
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|
Loading…
Reference in New Issue