add full dependencies to file watcher

This commit is contained in:
2022-02-27 21:50:33 +01:00
parent eb7c33d412
commit 8815a8e02e
5 changed files with 68 additions and 71 deletions

View File

@@ -9,7 +9,7 @@ export fn upd() {
let inline d = 40000 as f32 / sqrt(x * x + y * y);
let inline u = atan2(x, y) * (512.0 / 3.141);
let inline c = ((i32.trunc_sat_f32_s(d + t * 2 as f32) ^ i32.trunc_sat_f32_s(u + t)) & 255) >> 4;
i?120 = c;
i?FRAMEBUFFER = c;
branch_if (i := i + 1) < 320*240: pixels;
}