From: Chris Duncan Date: Sun, 15 Dec 2024 08:35:16 +0000 (-0800) Subject: Formatting. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=f78c181dfdb133907fb8b25e2c0474351b6c7114;p=libnemo.git Formatting. --- 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));