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)]);