From 4adcb2d7634b382fcecddafdd9572245a4ddae70 Mon Sep 17 00:00:00 2001 From: routersys Date: Wed, 7 Oct 2026 08:06:08 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B4=A0=E6=9D=90=E3=81=AE=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E3=81=AE=E3=83=99=E3=82=AF=E3=83=88=E3=83=AB=E7=89=88=E3=81=AE?= =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=82=92=E5=A4=96=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WaveOptics/Rendering/WaveOpticsSourceHash.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/WaveOptics/Rendering/WaveOpticsSourceHash.cs b/WaveOptics/Rendering/WaveOpticsSourceHash.cs index 519a33c..0b9141c 100644 --- a/WaveOptics/Rendering/WaveOpticsSourceHash.cs +++ b/WaveOptics/Rendering/WaveOpticsSourceHash.cs @@ -64,8 +64,6 @@ internal readonly record struct WaveOpticsSourceHash(int LitCount, int MinimumX, return new WaveOpticsSourceHash(count, minimumX, minimumY, maximumX, maximumY, sum, mix); } - // The same sums as the scalar form: eight pixels at a time, with the unlit ones masked out. Both sums - // do not depend on the order of the pixels, so the result is the same, bit for bit. internal static WaveOpticsSourceHash ComputeVector(ReadOnlySpan bgra, int sourceX, int sourceY, int sourceWidth, int sourceHeight) { var pixels = MemoryMarshal.Cast(bgra[..(sourceWidth * sourceHeight * 4)]);