From 3fb089d392cd3ac5daeaf83963f78088c5ec172a Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sat, 29 Apr 2023 14:51:35 +0100 Subject: [PATCH] Remove unnecessary New function from Brickmap uniform struct --- src/voxel/brickmap.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/voxel/brickmap.rs b/src/voxel/brickmap.rs index 0ac9f59..3982272 100644 --- a/src/voxel/brickmap.rs +++ b/src/voxel/brickmap.rs @@ -10,16 +10,6 @@ struct Brickmap { pub lod_color: u32, } -impl Brickmap { - pub fn new() -> Self { - Self { - bitmask: [0; 16], - shading_table_offset: 0, - lod_color: 0, - } - } -} - #[repr(C)] #[derive(Debug, Default, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] struct WorldState {