Remove unused code/comments

This commit is contained in:
Jarrod Doyle 2023-05-05 17:18:03 +01:00
parent b1d012c05b
commit 3896027ea9
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 0 additions and 2 deletions

View File

@ -34,7 +34,6 @@ pub struct BrickmapManager {
} }
// TODO: // TODO:
// - Proper shader table bucket management
// - GPU side unpack buffer rather than uploading each changed brickmap part // - GPU side unpack buffer rather than uploading each changed brickmap part
// - Cyclic brickmap cache with unloading // - Cyclic brickmap cache with unloading
// - Brickworld system // - Brickworld system
@ -262,7 +261,6 @@ impl BrickmapManager {
.shading_table_allocator .shading_table_allocator
.try_alloc(albedo_data.len() as u32) .try_alloc(albedo_data.len() as u32)
.unwrap() as usize; .unwrap() as usize;
// let shading_idx = self.brickmap_cache_idx * 512;
self.shading_table.splice( self.shading_table.splice(
shading_idx..(shading_idx + albedo_data.len()), shading_idx..(shading_idx + albedo_data.len()),
albedo_data.clone(), albedo_data.clone(),