From a85512ce50e0826fcb080310b2510ae893281428 Mon Sep 17 00:00:00 2001 From: routersys Date: Fri, 9 Oct 2026 08:43:53 +0900 Subject: [PATCH] =?UTF-8?q?=E8=B7=9D=E9=9B=A2=E3=81=AE=E6=B1=82=E3=82=81?= =?UTF-8?q?=E6=96=B9=E3=81=8B=E3=82=89=E9=87=8D=E8=A4=87=E3=81=97=E3=81=9F?= =?UTF-8?q?=E6=9C=89=E9=99=90=E3=81=AE=E5=88=A4=E5=AE=9A=E3=82=92=E5=8F=96?= =?UTF-8?q?=E3=82=8A=E9=99=A4=E3=81=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WaveOptics/Effects/WaveOpticsDepth.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/WaveOptics/Effects/WaveOpticsDepth.cs b/WaveOptics/Effects/WaveOpticsDepth.cs index e6de8f7..219f44c 100644 --- a/WaveOptics/Effects/WaveOpticsDepth.cs +++ b/WaveOptics/Effects/WaveOpticsDepth.cs @@ -16,9 +16,6 @@ internal static class WaveOpticsDepth distance = 0d; var requested = drawDescription.PerspectiveDistance; var perspectiveDistance = requested > 0f ? requested.Value : BasePerspectiveDistance; - if (!float.IsFinite(perspectiveDistance)) - return false; - var position = Vector4.Transform(new Vector4(drawDescription.Draw, 1f), drawDescription.Camera); var result = perspectiveDistance * (double)position.W - position.Z; if (!double.IsFinite(result) || result <= 0d)