aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
diff options
context:
space:
mode:
authorJaklyy <102590697+Jaklyy@users.noreply.github.com>2023-08-27 07:29:12 -0400
committerGitHub <noreply@github.com>2023-08-27 13:29:12 +0200
commitd69745b3a82ed75da71e93a0061581367084a6fe (patch)
tree9e1548ea37f0fc9661ca63d97e301543584f2678 /src/GPU3D.cpp
parentdc8efb62b8895b88bad95d2291af402c80806f01 (diff)
Fix Incorrect Polygon Swapping Behavior and Implement Correct Rules for Shifting Right Edges Left (#1816)
* fix polygons being swapped incorrectly "borrowed" this from noods needs verification that the >= and <= signs aren't actually supposed to be > and < * proper rules for moving vertical right slopes left * nvm most of that was actually pointless that's on me for not checking
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r--src/GPU3D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index 5611b14..dcd5bd7 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -1067,7 +1067,7 @@ void SubmitPolygon()
dot = ((s64)v1->Position[0] * normalX) + ((s64)v1->Position[1] * normalY) + ((s64)v1->Position[3] * normalZ);
- bool facingview = (dot < 0);
+ bool facingview = (dot <= 0);
if (facingview)
{