Checkpoint

This commit is contained in:
Nathan Sobo
2023-09-20 10:17:29 -06:00
parent 7885eaf974
commit 83dae46ec6
17 changed files with 2701 additions and 1193 deletions
+6
View File
@@ -246,6 +246,12 @@ impl std::hash::Hash for Pixels {
}
}
impl From<f64> for Pixels {
fn from(val: f64) -> Self {
Pixels(val as f32)
}
}
unsafe impl bytemuck::Pod for Pixels {}
unsafe impl bytemuck::Zeroable for Pixels {}