From f78c181dfdb133907fb8b25e2c0474351b6c7114 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 15 Dec 2024 00:35:16 -0800 Subject: [PATCH] Formatting. --- src/lib/workers/pow.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/workers/pow.ts b/src/lib/workers/pow.ts index 4763f68..a5f6588 100644 --- a/src/lib/workers/pow.ts +++ b/src/lib/workers/pow.ts @@ -161,8 +161,8 @@ void main() { uint y_index = (uv_y - y_pos) / 256u; // First 2 work bytes are the x,y pos within the 256x256 area, the next - // two bytes are modified from the random generated value, XOR'd with - // the x,y area index of where this pixel is located + // two bytes are modified from the random generated value, XOR'd with + // the x,y area index of where this pixel is located m[0] = (x_pos ^ (y_pos << 8) ^ ((u_work0.b ^ x_index) << 16) ^ ((u_work0.a ^ y_index) << 24)); // Remaining bytes are un-modified from the random generated value m[1] = (u_work1.r ^ (u_work1.g << 8) ^ (u_work1.b << 16) ^ (u_work1.a << 24)); -- 2.34.1