Remove unnecessary New function from Brickmap uniform struct

This commit is contained in:
Jarrod Doyle 2023-04-29 14:51:35 +01:00
parent b51f0b42e2
commit 3fb089d392
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 0 additions and 10 deletions

View File

@ -10,16 +10,6 @@ struct Brickmap {
pub lod_color: u32, pub lod_color: u32,
} }
impl Brickmap {
pub fn new() -> Self {
Self {
bitmask: [0; 16],
shading_table_offset: 0,
lod_color: 0,
}
}
}
#[repr(C)] #[repr(C)]
#[derive(Debug, Default, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] #[derive(Debug, Default, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
struct WorldState { struct WorldState {