added snapshot button (q) so you can actually see where you're moving

This commit is contained in:
2025-03-30 16:41:07 -04:00
parent 44b6887e00
commit 2e11d2c2ab
11 changed files with 137 additions and 15 deletions

View File

@@ -46,6 +46,7 @@ impl ComputePipeline {
}
}
if len != self.old_len {
println!("len: {}", len);
self.old_len = len;
self.pipeline = self.pipeline(device, &Self::shader(device, len));
self.work.set(work_vec(size.x, size.y, len));