From 447cd50422dd34f13d609833730e427276823cb4 Mon Sep 17 00:00:00 2001 From: Jaklyy <102590697+Jaklyy@users.noreply.github.com> Date: Sat, 9 Dec 2023 08:19:43 -0500 Subject: [PATCH] holds true when slopes are vertical and y > 50 --- src/GPU3D.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GPU3D.h b/src/GPU3D.h index 924344f7..cba5cf73 100644 --- a/src/GPU3D.h +++ b/src/GPU3D.h @@ -32,12 +32,12 @@ class GPU; // numbers based on 339 poly 64-172 horiz. line poly static constexpr int RasterTimingCap = 51116; -static constexpr int PerPolyTiming = 12; -static constexpr int PerScanlineTiming = 1064; -static constexpr int PerScanlineRecup = 2010;//1910; +static constexpr int PerPolyTiming = 12; // should be correct for *most* line polygons +static constexpr int PerPixelTiming = 1; // does not apply to the first 4 pixels in a polygon (per scanline?) +static constexpr int PerScanlineTiming = 1064;// approximate currently, used to calc RDLines +static constexpr int PerScanlineRecup = 2112; // seems to check out? //static constexpr int EmptyPolyScanline; //static constexpr int FirstPixelTiming; -static constexpr int PerPixelTiming = 1; struct Vertex {