Added benchmarks to find the most appropriate data structure
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#[derive(PartialEq, Clone, Copy, Debug)]
|
||||
struct Voxel {
|
||||
r: u8,
|
||||
g: u8,
|
||||
b: u8
|
||||
r: u8, g: u8, b: u8
|
||||
}
|
||||
|
||||
const AIR_VOXEL: Voxel = Voxel { r: 0, g: 0, b: 0 };
|
||||
|
||||
Reference in New Issue
Block a user