Remove unnecessary New function from Brickmap uniform struct
This commit is contained in:
parent
b51f0b42e2
commit
3fb089d392
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue